From 65e28bf9232278e75f5e85c0ca10c910d4b62a5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Thu, 26 Nov 2020 12:41:35 +0100 Subject: [PATCH] ci: removed unnecessary flags when running coverage --- Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 3f794af2..abbd0507 100644 --- a/Makefile +++ b/Makefile @@ -26,11 +26,6 @@ endif test: cargo test - -COV_CARGO_INCREMENTAL=0 -COV_RUSTFLAGS="-Zinstrument-coverage" -COV_RUSTDOCFLAGS="-Cpanic=abort" - test-coverage: ifndef COVERAGE_CACHE # We need to remove build files in case a non-coverage test has been run @@ -39,9 +34,7 @@ ifndef COVERAGE_CACHE endif rm -rf **/*.profraw # Build and test - env CARGO_INCREMENTAL=${COV_CARGO_INCREMENTAL} \ - RUSTFLAGS=${COV_RUSTFLAGS} \ - RUSTDOCFLAGS=${COV_RUSTDOCFLAGS} \ + env RUSTFLAGS="-Zinstrument-coverage" \ LLVM_PROFILE_FILE="grcov-%p-%m.profraw" \ cargo test --verbose