rust/tests
Stuart Cook b6ac83d372
Rollup merge of #144042 - dpaoliello:verifyllvmcomp, r=jieyouxu
Verify llvm-needs-components are not empty and match the --target value

I recently discovered a test with an empty `llvm-needs-components` entry (fixed in rust-lang/rust#143979) which meant that it didn't work correctly when building Rust with a limited set of LLVM targets.

This change makes a pair of improvements to prevent this issue from creeping in again:
* When parsing directives with values, `compiletest` will now raise an error if there is an empty value.
* Improved the `target_specific_tests` tidy checker to map targets to LLVM components, to verify that any existing `llvm-needs-components` contains the target being used.

I also fixed all the issues flagged by the improved tidy checker.
2025-07-30 17:59:37 +10:00
..
assembly-llvm Relax check lines in x86-return-float.rs 2025-07-29 14:08:19 +02:00
auxiliary So many test updates x_x 2025-07-20 10:15:14 -07:00
codegen-llvm Rollup merge of #144042 - dpaoliello:verifyllvmcomp, r=jieyouxu 2025-07-30 17:59:37 +10:00
codegen-units Auto merge of #142893 - Mark-Simulacrum:no-const-collect, r=oli-obk 2025-06-27 12:57:05 +00:00
coverage coverage: Treat #[automatically_derived] as #[coverage(off)] 2025-07-29 19:56:31 +10:00
coverage-run-rustdoc
crashes Check static is sized when building MIR. 2025-07-25 02:31:59 +00:00
debuginfo Verify llvm-needs-components are not empty and match the --target value 2025-07-29 11:20:23 -07:00
incremental Bless incremental tests. 2025-07-13 13:50:01 +00:00
mir-opt Simplify align_of_val::<[T]>(…)align_of::<T>() 2025-07-28 23:19:06 -07:00
pretty expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
run-make Rollup merge of #144609 - Muscraft:right-align, r=compiler-errors 2025-07-29 20:19:53 +10:00
rustdoc Regression test 2025-07-17 08:03:17 +02:00
rustdoc-gui Update rustdoc GUI tests 2025-07-01 15:49:45 +02:00
rustdoc-js Add test for aliases partial match 2025-07-16 14:27:22 +02:00
rustdoc-js-std Add test for aliases partial match 2025-07-16 14:27:22 +02:00
rustdoc-json rustdoc-json: Structured attributes 2025-07-15 16:52:41 +00:00
rustdoc-ui feat: Right align line numbers 2025-07-28 16:32:11 -06:00
ui Rollup merge of #144042 - dpaoliello:verifyllvmcomp, r=jieyouxu 2025-07-30 17:59:37 +10:00
ui-fulldeps use RustcPublic instead of StableMir 2025-07-18 18:49:32 +00:00
COMPILER_TESTS.md