From 8cba97bdfb59ee1247b414edc8ba2517e1c0d3d2 Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Thu, 2 Mar 2023 10:19:17 +0000 Subject: [PATCH] Adjust CI to how the ui test suite works --- .github/driver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/driver.sh b/.github/driver.sh index 798782340ee7..da659ae44565 100644 --- a/.github/driver.sh +++ b/.github/driver.sh @@ -29,7 +29,7 @@ unset CARGO_MANIFEST_DIR # 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/double_neg.rs 2>double_neg.stderr && exit 1 +./target/debug/clippy-driver -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/double_neg.rs 2>double_neg.stderr && exit 1 sed -e "s,tests/ui,\$DIR," -e "/= help/d" double_neg.stderr >normalized.stderr diff -u normalized.stderr tests/ui/double_neg.stderr