bootstrap: make --exclude
consistent with --skip
in libtest
#111894
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Right now, there are two ways to ignore tests:
x test --exclude tests/ui/weird-exprs.rs
to bootstrapx test --test-args --skip=tests/ui/weird-exprs.rs
to compiletestIt'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.The text was updated successfully, but these errors were encountered: