-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 test --skip
is sensitive to path separators on Windows
#134198
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
O-windows
Operating system: Windows
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Comments
ChrisDenton
added
the
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
label
Dec 12, 2024
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Dec 12, 2024
jieyouxu
added
O-windows
Operating system: Windows
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Dec 12, 2024
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Dec 12, 2024
…youxu validate `--skip` and `--exclude` paths Fixes rust-lang#134198 cc `@ChrisDenton`
compiler-errors
added a commit
to compiler-errors/rust
that referenced
this issue
Dec 13, 2024
…youxu validate `--skip` and `--exclude` paths Fixes rust-lang#134198 cc ``@ChrisDenton``
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Dec 13, 2024
…youxu validate `--skip` and `--exclude` paths Fixes rust-lang#134198 cc `@ChrisDenton`
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Dec 14, 2024
…youxu validate `--skip` and `--exclude` paths Fixes rust-lang#134198 cc ```@ChrisDenton```
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Dec 14, 2024
Rollup merge of rust-lang#134209 - onur-ozkan:check-skip-paths, r=jieyouxu validate `--skip` and `--exclude` paths Fixes rust-lang#134198 cc ``@ChrisDenton``
Reopening because this is a bit more tricky, as Steps may register arbitrary aliases and there is also logic that accepts matching prefix/suffixes for tests (see #134843 for more details). |
Closed
The fix doesn't have anything to do with aliases. |
Indeed, please disregard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
O-windows
Operating system: Windows
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Currently the following will not skip any tests on Windows even though the test path exists
This is because of using
/
instead of\
for the path separators. Ideally bootstrap should handle this.Additionally it would be nice if
--skip
errored (or at least warned) if the given path didn't match anything.The text was updated successfully, but these errors were encountered: