about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xci/base-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/base-tests.sh b/ci/base-tests.sh
index df53b6b5044..4a64b19d80a 100755
--- a/ci/base-tests.sh
+++ b/ci/base-tests.sh
@@ -51,7 +51,7 @@ cargo test --features "debugging deny-warnings"
 
   # Run a lint and make sure it produces the expected output. It's also expected to exit with code 1
   # FIXME: How to match the clippy invocation in compile-test.rs?
-  ! ./target/debug/clippy-driver -Dwarnings -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/cstring.rs 2> cstring.stderr
+  ./target/debug/clippy-driver -Dwarnings -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/cstring.rs 2> cstring.stderr && exit 1
   sed -e 's,tests/ui,$DIR,' -e '/= help/d' cstring.stderr > normalized.stderr
   diff normalized.stderr tests/ui/cstring.stderr