From af6d49d97c6d787f11563b6e3bf80ae5411eda6d Mon Sep 17 00:00:00 2001 From: Alex Macleod Date: Tue, 23 Jul 2024 16:15:28 +0000 Subject: [PATCH] Fix running compile-test under cargo nextest --- tests/compile-test.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/compile-test.rs b/tests/compile-test.rs index e8c7cd1bc41..ea3a0a93ecc 100644 --- a/tests/compile-test.rs +++ b/tests/compile-test.rs @@ -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.