Allow subdirectories to be tested by x.py test#60719
Merged
bors merged 2 commits intorust-lang:masterfrom May 14, 2019
Merged
Conversation
Contributor
|
(rust_highfive has picked a reviewer for you, use r? to override) |
Contributor
|
@varkor Can you follow up with a PR to the rustc guide? |
tesuji
reviewed
May 11, 2019
Member
|
This is pretty far out of cache for me so curious if you remember this more? |
Member
|
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). |
Mark-Simulacrum
approved these changes
May 14, 2019
Member
|
@bors r+ rollup |
Collaborator
|
📌 Commit b470d48 has been approved by |
Centril
added a commit
to Centril/rust
that referenced
this pull request
May 14, 2019
…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.
bors
added a commit
that referenced
this pull request
May 14, 2019
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #60718.
As far as I can tell, multiple
--test-argsflags 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-argswill continue working as usual, so this is strictly an improvement on the current state of affairs.