Skip to content
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

Merged
merged 2 commits into from
May 14, 2019

Conversation

varkor
Copy link
Member

@varkor varkor commented May 10, 2019

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.

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 10, 2019
@Centril
Copy link
Contributor

Centril commented May 10, 2019

@varkor Can you follow up with a PR to the rustc guide?

@alexcrichton
Copy link
Member

r? @Mark-Simulacrum

This is pretty far out of cache for me so curious if you remember this more?

@Mark-Simulacrum
Copy link
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
Copy link
Member

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 14, 2019

📌 Commit b470d48 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 14, 2019
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
@bors bors merged commit b470d48 into rust-lang:master May 14, 2019
@varkor varkor deleted the xpy-test-folder branch May 15, 2019 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

x.py test should be able to test subfolders
7 participants