compiletest interprets subdirectory for tests as filter instead #120300
Labels
A-compiletest
Area: The compiletest test runner
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
E-hard
Call for participation: Hard difficulty. Experience needed to fix: A lot.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
While working on #120273, i used
python x.py --stage=1 t tests/ui/borrowck/ --force-rerun
to run some subset of tests instead of full suite, as described in https://rustc-dev-guide.rust-lang.org/tests/running.html#running-a-subset-of-the-test-suites:and expected to run test only in tests/ui/borrowck/ folder,
but instead noticed that this actually tested not subdirectory
tests/ui/borrowck/
, but any test withborrowck
in path, likeOr maybe bootstrap parses input for compiletest wrong?
@rustbot label +A-testsuite
The text was updated successfully, but these errors were encountered: