-
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
x.py test: remove no-op --skip flag #123342
Conversation
rustbot has assigned @Mark-Simulacrum. Use |
This PR modifies If appropriate, please update |
I wonder if it being a no-op is a recent change, because we had to use it in opt-dist, and are still using it cc @Kobzol |
We do use it in opt-dist, and it works. But I think that this PR removes a flag only for the test subcommand? Looks like these two flags were somehow overwriting each other, if you check the completions, the test flag is now replaced by the global skip flag. |
Yes this removes a flag only for I did not realize there's a second |
Yeah, especially since it was unused. |
I think that |
Yeah it's Would be nice if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Yeah it's
--test-args --skip --test-args foo
. Which is very awkward to type...Would be nice if
x.py test --
worked for this. :)
test -- --skip
works already. e.g., x test tests/run-make/hir-tree -- --skip tests/run-make/hir-tree
results with:
Testing stage2 compiletest suite=run-make mode=run-make (x86_64-unknown-linux-gnu)
running 0 tests
@bors r+ rollup |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#123209 (Add section to sanitizer doc for `-Zexternal-clangrt`) - rust-lang#123342 (x.py test: remove no-op --skip flag) - rust-lang#123382 (Assert `FnDef` kind) - rust-lang#123386 (Set `CARGO` instead of `PATH` for Rust Clippy) - rust-lang#123393 (rustc_ast: Update `P<T>` docs to reflect mutable status.) - rust-lang#123394 (Postfix match fixes) - rust-lang#123412 (Output URLs of CI artifacts to GitHub summary) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#123342 - RalfJung:noskip, r=onur-ozkan x.py test: remove no-op --skip flag None of the test commands seems to do anything with this flag, so we might as well remove it.
None of the test commands seems to do anything with this flag, so we might as well remove it.