mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 07:04:18 +00:00
Auto merge of #13151 - Alexendoo:nextest, r=Jarcho
Fix running compile-test under cargo nextest `ui_test` itself has `cargo nextest` support which we now use - https://github.com/oli-obk/ui_test/pull/161 It prints `ui_test` as its test name whereas we printed `compile_test`, this ended up being treated as a test name filter causing all the tests to be filtered out changelog: none
This commit is contained in:
commit
615284aa5a
1 changed files with 0 additions and 9 deletions
|
@ -268,15 +268,6 @@ fn run_ui_cargo() {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
// Support being run by cargo nextest - https://nexte.st/book/custom-test-harnesses.html
|
||||
if env::args().any(|arg| arg == "--list") {
|
||||
if !env::args().any(|arg| arg == "--ignored") {
|
||||
println!("compile_test: test");
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
set_var("CLIPPY_DISABLE_DOCS_LINKS", "true");
|
||||
// The SPEEDTEST_* env variables can be used to check Clippy's performance on your PR. It runs the
|
||||
// affected test 1000 times and gets the average.
|
||||
|
|
Loading…
Reference in a new issue