-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Remote testing fixes #72704
Remote testing fixes #72704
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
This looks good to me but I think is pretty likely to conflict with #72672 so will hold off on approving, r=me once conflicts with that are resolved though (probably easiest to wait for it to land) |
☔ The latest upstream changes (presumably #72672) made this pull request unmergeable. Please resolve the merge conflicts. |
Unblocked now @tblah, sorry for the wait! |
Some tests (e.g. ui-fulldeps/create-dir-all-bare.rs) assume that RUST_TEST_TMPDIR exists on the system running the test. Expand remote-test-{server,client} such that a tmp directory is created on the remote runner and this environment variable will point at it.
There was an unused verbose command line argument. Add some prints if verbose is set.
Allow tests to use // ignore-remote to ignore the test when using remote-test-{client,server}. In most situations this would be covered by // ignore-cross-compile but I see no reason that a non-cross compiled remote test runner shouldn't work.
909ee01
to
81df5ac
Compare
Thanks @seritools |
Alright, this looks good to me, thanks! @bors r+ |
📌 Commit 81df5ac has been approved by |
Rollup of 5 pull requests Successful merges: - rust-lang#72704 (Remote testing fixes) - rust-lang#72820 (InstCombine: Don't optimize `&mut *x` into `x`) - rust-lang#72848 (Correct generic parameter ordering in error note for E0747) - rust-lang#72902 (Add a test to ensure Fuse stays covariant) - rust-lang#72921 (Add assert to Vec with_capacity docs) Failed merges: r? @ghost
Improvements for remote testing
RUST_TEST_TMPDIR
directory on the remote testing host// ignore-remote
To test:
remote-test-server
for the target machine and copy it over