mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
6179c56144
Make sure we run the full suite, even when more specific filters are given Some test suite's filter code took this into account, while others didn't. Imagine this: ``` x test tests/ui/sometest.rs tests/ui ``` This would run only `tests/ui/sometest.rs` since we filtered out `tests/ui` since it matches the name of the test suite. The reason `x test tests/ui` on its own works, is that if compiletest gets no filter paths, only a suite, it runs the entire suite. What I've implemented here is that when you pass the suite path, we effectively ignore specific filters and just run the entire suite since that'll include the more specific paths too. This was the case for a few other suites as well, like rustdocjs, but others actually handle this correctly (like clippy, which my code does edit but for which the behavior doesn't change). Hope this makes sense!
This directory contains some source code for the Rust project, including:
- The bootstrapping build system
- Various submodules for tools, like cargo, tidy, etc.
For more information on how various parts of the compiler work, see the rustc dev guide.