about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/bootstrap/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 754bd6c9c8c..71e83e741e1 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;
         }