Closed
Description
Right now, there are two ways to ignore tests:
- Pass
x test --exclude tests/ui/weird-exprs.rs
to bootstrap - Pass
x test --test-args --skip=tests/ui/weird-exprs.rs
to compiletest
It's weird that these use different arguments. --skip
is public-facing, so we should rename --exclude
to --skip
in bootstrap.
I don't have a strong opinion on whether to keep --exclude
around as an alias for --skip
, but --skip
should be the one we document.
Note that --exclude
is slightly different from --skip
because it can also applies to whole Steps, not just tests, and doesn't support substring matching. But I don't think it's different enough to be worth having a different name.
Metadata
Metadata
Assignees
Labels
Area: Makes things more difficult for new or seasoned contributors to RustCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)