compiletest: Print why a test was ignored if it's the only test specified #106659
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
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.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
cc https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/.E2.9C.94.20bless.20src.2Ftest.2Fui.2Fstats.2Fhir-stats.2Ers.3F, where it took a while to track down why the test was ignored. Doing this for all tests is too much, because there can be many ignored tests in a full
x.py test
run, but when only a single test is specified withx test src/test/ui/stats/hir-stats.rs
it's pretty clear that the user intends to run it.I think
rust/src/tools/compiletest/src/header.rs
Lines 951 to 975 in b435960
The text was updated successfully, but these errors were encountered: