Skip to content

Commit 65e28bf

Browse files
committed
ci: removed unnecessary flags when running coverage
1 parent d46f1a1 commit 65e28bf

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Makefile

+1-8
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ endif
2626
test:
2727
cargo test
2828

29-
30-
COV_CARGO_INCREMENTAL=0
31-
COV_RUSTFLAGS="-Zinstrument-coverage"
32-
COV_RUSTDOCFLAGS="-Cpanic=abort"
33-
3429
test-coverage:
3530
ifndef COVERAGE_CACHE
3631
# We need to remove build files in case a non-coverage test has been run
@@ -39,9 +34,7 @@ ifndef COVERAGE_CACHE
3934
endif
4035
rm -rf **/*.profraw
4136
# Build and test
42-
env CARGO_INCREMENTAL=${COV_CARGO_INCREMENTAL} \
43-
RUSTFLAGS=${COV_RUSTFLAGS} \
44-
RUSTDOCFLAGS=${COV_RUSTDOCFLAGS} \
37+
env RUSTFLAGS="-Zinstrument-coverage" \
4538
LLVM_PROFILE_FILE="grcov-%p-%m.profraw" \
4639
cargo test --verbose
4740

0 commit comments

Comments
 (0)