diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index e4cc88c64a5..eed7a584b60 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -799,6 +799,10 @@ impl Step for Clippy { // The tests succeeded; nothing to do. return; } + + if !builder.config.cmd.bless() { + crate::detail_exit_macro!(1); + } } }