about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorPietro Albini <pietro.albini@ferrous-systems.com>2023-03-02 17:10:29 +0100
committerPietro Albini <pietro.albini@ferrous-systems.com>2023-03-02 17:10:29 +0100
commitf23e20569c5beedc3739e97d8a43bc9a53b9e3c9 (patch)
tree2f5b976ef995670d56d14a389490f618753ec744 /src/bootstrap
parentad9a4442418deb24cbb107d0a56026d005bfa859 (diff)
downloadrust-f23e20569c5beedc3739e97d8a43bc9a53b9e3c9.tar.gz
rust-f23e20569c5beedc3739e97d8a43bc9a53b9e3c9.zip
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.
Diffstat (limited to 'src/bootstrap')
-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;
         }