-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ignore run-make
tests that need std
on targets without std
#142414
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
base: master
Are you sure you want to change the base?
Conversation
In particular, anything that includes `none` in the target tripple, and `nvptx64-nvidia-cuda`
This PR modifies cc @jieyouxu |
@bors2 try jobs=test-various,armhf-gnu |
ignore `run-make` tests that need `std` on targets without `std` In particular, anything that includes `none` in the target triple, and `nvptx64-nvidia-cuda`. Right now we don't cross-compile the `run-make` tests, but we want to in the future. This uses `//@ needs-target-std` introduced in #142297. Useful for #139244 and #141856. The modified files are based on running #141856 locally. It might be that #139244 uncovers some additional files, but that PR needs to be rebased (though actually I'd advice to rebase the non-test changes onto this PR, probably faster that way). r? `@jieyouxu` <details> <summary>vim notes for future me</summary> Make a file with lines like this ``` /home/folkertdev/rust/rust/tests/run-make/export/disambiguator/rmake.rs:1:1 /home/folkertdev/rust/rust/tests/run-make/invalid-so/rmake.rs:1:1 /home/folkertdev/rust/rust/tests/run-make/no-builtins-attribute/rmake.rs:1:1 /home/folkertdev/rust/rust/tests/run-make/export/extern-opt/rmake.rs:1:1 /home/folkertdev/rust/rust/tests/run-make/link-dedup/rmake.rs:1:1 ``` then ``` :set errorformat=%f:%l:%c :cfile /tmp/files-to-fix.txt ``` ``` :copen :cnext :cprev ``` are your friends </details> try-job: test-various try-job: armhf-gnu
Also in case you need to run try jobs: @bors2 delegate=try |
@folkertdev can now perform try builds on this pull request |
This PR only ignore tests, so it makes sense that the try job would succeed. Also as background for others: these tests currently run for the host, not the stated target. So, we're not losing test coverage here, these tests never ran for the stated target (because they can't). I also don't think it's worth it to make these tests |
In particular, anything that includes
none
in the target triple, andnvptx64-nvidia-cuda
. Right now we don't cross-compile therun-make
tests, but we want to in the future.This uses
//@ needs-target-std
introduced in #142297.Useful for #139244 and #141856.
The modified files are based on running #141856 locally. It might be that #139244 uncovers some additional files, but that PR needs to be rebased (though actually I'd advice to rebase the non-test changes onto this PR, probably faster that way).
r? @jieyouxu
vim notes for future me
Make a file with lines like this
then
are your friends