From f23e20569c5beedc3739e97d8a43bc9a53b9e3c9 Mon Sep 17 00:00:00 2001 From: Pietro Albini Date: Thu, 2 Mar 2023 17:10:29 +0100 Subject: [PATCH] do not use render_tests for clippy Behind the scenes Clippy uses compiletest-rs, which doesn't support the --json flag we added to Rust's compiletest. --- src/bootstrap/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 754bd6c9c8ce..71e83e741e12 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -767,7 +767,7 @@ impl Step for Clippy { cargo.add_rustc_lib_path(builder, compiler); - if add_flags_and_try_run_tests(builder, &mut cargo.into()) { + if builder.try_run(&mut cargo.into()) { // The tests succeeded; nothing to do. return; }