Skip to content

Commit 615284a

Browse files
committed
Auto merge of rust-lang#13151 - Alexendoo:nextest, r=Jarcho
Fix running compile-test under cargo nextest `ui_test` itself has `cargo nextest` support which we now use - oli-obk/ui_test#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
2 parents 760a278 + af6d49d commit 615284a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/compile-test.rs

-9
Original file line numberDiff line numberDiff line change
@@ -268,15 +268,6 @@ fn run_ui_cargo() {
268268
}
269269

270270
fn main() {
271-
// Support being run by cargo nextest - https://nexte.st/book/custom-test-harnesses.html
272-
if env::args().any(|arg| arg == "--list") {
273-
if !env::args().any(|arg| arg == "--ignored") {
274-
println!("compile_test: test");
275-
}
276-
277-
return;
278-
}
279-
280271
set_var("CLIPPY_DISABLE_DOCS_LINKS", "true");
281272
// The SPEEDTEST_* env variables can be used to check Clippy's performance on your PR. It runs the
282273
// affected test 1000 times and gets the average.

0 commit comments

Comments
 (0)