-
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
Allow subdirectories to be tested by x.py test #60719
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@varkor Can you follow up with a PR to the rustc guide? |
This is pretty far out of cache for me so curious if you remember this more? |
I would like to do another review after this one but seems reasonable (I don't honestly think this is really too viable to review thoroughly; if it passes CI and works in practice then that's probably good enough). |
@bors r+ rollup |
📌 Commit b470d48 has been approved by |
…lacrum Allow subdirectories to be tested by x.py test Fixes rust-lang#60718. As far as I can tell, multiple `--test-args` flags are ignored (only the first is respected), so if you specify a subdirectory, you won't also be able to filter using `--test-args`. If you don't specify a subdirectory, `--test-args` will continue working as usual, so this is strictly an improvement on the current state of affairs.
Rollup of 9 pull requests Successful merges: - #60130 (Add implementations of last in terms of next_back on a bunch of DoubleEndedIterators) - #60443 (as_ptr returns a read-only pointer) - #60444 (forego caching for all participants in cycles, apart from root node) - #60719 (Allow subdirectories to be tested by x.py test) - #60780 (fix Miri) - #60788 (default to $ARCH-apple-macosx10.7.0 LLVM triple for darwin targets) - #60799 (Allow late-bound regions in existential types) - #60808 (Improve the "must use" lint for `Future`) - #60819 (submodules: update clippy from 3710ec5 to ad3269c) Failed merges: r? @ghost
Fixes #60718.
As far as I can tell, multiple
--test-args
flags are ignored (only the first is respected), so if you specify a subdirectory, you won't also be able to filter using--test-args
. If you don't specify a subdirectory,--test-args
will continue working as usual, so this is strictly an improvement on the current state of affairs.