Fix running compile-test under cargo nextest

This commit is contained in:
Alex Macleod 2024-07-23 16:15:28 +00:00
parent bd1224d8aa
commit af6d49d97c

View File

@ -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.