rust/tests
Michael Goulet d180e9101d
Rollup merge of #119034 - Zalathar:ignore-mode, r=davidtwco
Allow coverage tests to ignore test modes, and to enable color in coverage reports

This PR adds two new header directives to compiletest, intended for use by coverage tests (and by #119033 in particular).

The new headers are:

- `// ignore-mode-{mode}` causes a test to not be run in a particular compiletest mode (e.g. `ignore-mode-coverage-run`).
  - This can theoretically be used by any test, but coverage tests are currently the only ones that automatically run in multiple modes, so it's not very useful for other kinds of test.
- `// llvm-cov-flags: --use-color` makes `coverage-run` tests pass the flag `--use-color` when generating coverage reports.
  - For most tests, non-coloured reports are easier to read and more portable across platforms. But for #119033 specifically, we want to test that `llvm-cov` slices up source text correctly, which only happens when colour output is enabled.
2024-01-05 10:57:20 -05:00
..
assembly Support reg_addr register class in s390x inline assembly 2024-01-03 18:00:37 +09:00
auxiliary
codegen Rollup merge of #119555 - Kobzol:maybeuninit-rvo-codegen-test, r=nikic 2024-01-04 08:33:26 +01:00
codegen-units Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
coverage Allow coverage tests to enable llvm-cov --use-color 2024-01-05 13:42:54 +11:00
coverage-run-rustdoc coverage: Rename the run-coverage test mode to coverage-run 2023-11-08 16:41:24 +11:00
debuginfo Check alignment of pointers only when read/written through 2023-11-04 13:01:32 -04:00
incremental Disable opt in incremental test. 2023-12-24 20:08:58 +00:00
mir-opt Rollup merge of #119325 - RalfJung:custom-mir, r=compiler-errors 2024-01-04 15:33:58 +01:00
pretty Make some non-diagnostic-affecting QPath::LangItem into regular qpaths 2023-12-26 04:07:38 +00:00
run-make Enable address sanitizer for MSVC targets using INFERASANLIBS linker flag 2024-01-03 10:00:15 -08:00
run-make-fulldeps Auto merge of #118899 - veera-sivarajan:fix-makefile, r=Mark-Simulacrum 2024-01-05 07:42:03 +00:00
run-pass-valgrind
rustdoc Auto merge of #119066 - notriddle:notriddle/sidebar-source-redesign, r=GuillaumeGomez 2023-12-31 15:32:15 +00:00
rustdoc-gui rustdoc ui: adjust tooltip z-index to be above sidebar 2023-12-31 20:31:56 +01:00
rustdoc-js rustdoc-search: count path edits with separate edit limit 2023-12-26 18:46:17 -07:00
rustdoc-js-std rustdoc-search: count path edits with separate edit limit 2023-12-26 18:46:17 -07:00
rustdoc-json Add regression test for is_object_safe field on traits 2023-12-23 19:00:17 +01:00
rustdoc-ui Rollup merge of #119184 - Rajveer100:branch-for-issue-118752, r=davidtwco 2024-01-04 15:33:57 +01:00
ui Handle context for const patterns correctly 2024-01-05 10:00:59 +00:00
ui-fulldeps Auto merge of #119097 - nnethercote:fix-EmissionGuarantee, r=compiler-errors 2023-12-22 00:03:57 +00:00
COMPILER_TESTS.md