-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix src/test/run-make/issue-36710
on cross-compiled targets
#103179
Conversation
r? @jyn514 (rust-highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! The code to support cross compiling seems reasonable, but the number of new ignores makes me worried you've missed a target and this will fail on the full test suite. I guess we can just try it and see though.
# ignore-none no-std is not supported | ||
# ignore-wasm32 FIXME: don't attempt to compile C++ to WASM | ||
# ignore-wasm64 FIXME: don't attempt to compile C++ to WASM | ||
# ignore-nvptx64-nvidia-cuda FIXME: can't find crate for `std` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this a FIXME? How would CUDA ever get support for libstd? (Is there some way we can say "ignore all targets without std"?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was present before #102723 (which I reverted), I don't have context on why those are fixmes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit message adding this originally says 1fa48cf
nvtptx64-nvidia-cuda fails in rustc saying it can't find std. The rust
platforms support page says that std is supported on cuda so this is
surprising.
sounds like something is broken here but no need to fix it in your PR. cc @RDambrosio016 in case you know who maintains this target.
@bors rollup=iffy |
@bors r+ |
📌 Commit ca362edbdde20d7592643142ea2f00e9f65e2a9e has been approved by It is now in the queue for this repository. |
Bors seemed to have lost the r+. @bors r=jyn514 |
📌 Commit ca362edbdde20d7592643142ea2f00e9f65e2a9e has been approved by It is now in the queue for this repository. |
⌛ Testing commit ca362edbdde20d7592643142ea2f00e9f65e2a9e with merge eab05ae07aab4737b537dd0da052a7bcb2f21e99... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
Installed the missing compiler in that builder, hopefully this is the only builder where it's missing 🤞 |
@bors r+ rollup=iffy |
📌 Commit cb096c148285f5f1146ec1a61cf0b297c78ec473 has been approved by It is now in the queue for this repository. |
⌛ Testing commit cb096c148285f5f1146ec1a61cf0b297c78ec473 with merge fa8492c23ff5f8d57adf27c88dda77a1477623c8... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
Android failed because of two problems:
I fixed both of the problems and successfully ran the |
☔ The latest upstream changes (presumably #104188) made this pull request unmergeable. Please resolve the merge conflicts. |
Sorry for the delay. r=me after a rebase. |
This reverts commit 0567fec.
When running tests inside the Android emulator, bootstrap doesn't set the TEST_DEVICE_ADDR environment variable, as the default address (127.0.0.1:12345) is used. Instead, REMOTE_TEST_CLIENT is set all the times when remote testing is needed, and in no other cases. To ensure Android tests are executed in the emulator, change the check.
6272ce4
to
6bfbd11
Compare
@bors r=jyn514 |
🌲 The tree is currently closed for pull requests below priority 1. This pull request will be tested once the tree is reopened. |
@bors r=jyn514 |
🌲 The tree is currently closed for pull requests below priority 1. This pull request will be tested once the tree is reopened. |
☀️ Test successful - checks-actions |
Finished benchmarking commit (30117a1): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
This PR fixes the
src/test/run-make/issue-36710
test not working on cross-compiled targets by telling the make infra how to run tests remotely withremote-test-server
.This PR includes a revert of #102723 (cc @pcc), which disabled that test on all cross-compiled targets.