compiletest: Support aux-bin with cross compilation #124361
Open
Description
opened on Apr 25, 2024
Step-by-step
src/ci/docker/run.sh --dev armhf-gnu
../x test --target arm-unknown-linux-gnueabihf tests/ui/compiletest-self-test/test-aux-bin.rs
(Watch out for the problem fixed in #124359.)
Expected
The test is run through the existing remote-test-client / remote-test-server mechanism and passes.
Actual
It is ignored because aux-bin does not work for this case yet:
running 1 tests
test [ui] tests/ui/compiletest-self-test/test-aux-bin.rs ... ignored, ignored when cross-compiling (because aux-bin does not yet support it)
The problem
The problem is simply that the existing remote-test-client / remote-test-server mechanism has not been taught how to deal with aux-bin files.
Compare with
If you run the test without cross compilation it works:
$ ./x test tests/ui/compiletest-self-test/test-aux-bin.rs
running 1 tests
test [ui] tests/ui/compiletest-self-test/test-aux-bin.rs ... ok
Other info
I was asked here to file this issue.
Metadata
Assignees
Labels
Area: The compiletest test runnerArea: Cross compilationArea: The testsuite used to check the correctness of rustcCategory: An issue proposing an enhancement or a PR with one.Call for participation: Hard difficulty. Experience needed to fix: A lot.Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Type
Projects
Status
Backlog
Activity