Open
Description
Currently, the run-make
test suite on windows still can only run in msys2.
When trying to use ./x test <path_to_specific_test>
inside the MSYS2 MSYS program, the usual test path/filters that works on other platforms (including outside of msys2 but in powershell or cmd) does not work within MSYS2 MSYS. This is not specific to the run-make test suite, but run-make tests are mentioned because they caused the requirement of msys2 in the first place.
For example, for a test tests/run-make/CURRENT_RUSTC_VERSION
:
Examples that doesn't work
These do work outside MSYS2 MSYS on windows (for backslash path separators) and on other platforms, but not within MSYS2 MSYS:
./x test tests/run-make/CURRENT_RUSTC_VERSION
./x test tests\\run-make\\CURRENT_RUSTC_VERSION
This doesn't work in MSYS2 MSYS either
./x test tests\run-make\CURRENT_RUSTC_VERSION
Examples that do work
This incantation does work, but it is annoying to type
./x test run-make --test-args="tests/run-make/CURRENT_RUSTC_VERSION"
Metadata
Metadata
Assignees
Labels
Area: The compiletest test runnerArea: Makes things more difficult for new or seasoned contributors to RustCategory: This is a bug.Call for participation: Medium difficulty. Experience needed to fix: Intermediate.Call for partcipation: This issues needs some investigation to determine current statusRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)