Fix running compile-test under cargo nextest
This commit is contained in:
parent
bd1224d8aa
commit
af6d49d97c
@ -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 New Issue
Block a user