compiletest should validate only-
headers
#90619
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
The failure mode for using an unrecognized header like
only-i686
is that the test never runs which is very easy to miss. compiletest should verify that it recognizes the header value and that some target could run the test. This is basically a more specific version of #83551.See #90569 for a case where this would have caught tests that never ran.
This is where the changes will need to be made:
rust/src/tools/compiletest/src/header.rs
Lines 674 to 713 in 27143a9
The text was updated successfully, but these errors were encountered: