compiletest: Support aux-bin with cross compilation
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
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 https://github.com/rust-lang/rust/pull/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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/ci/docker/run.sh --dev armhf-gnu and reproduce the issue using ../x test --target arm-unknown-linux-gnueabihf tests/ui/compiletest-self-test/test-aux-bin.rs. Read the compiletest remote-test-client and remote-test-server handling alongside tests/ui/compiletest-self-test/test-aux-bin.rs. Done means the test runs through that mechanism and passes instead of being ignored during cross compilation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100