Skip to content

Commit 71c1626

Browse files
committed
Ignore tests
1 parent dc2d47b commit 71c1626

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.ci/test-cover

+2-6
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,15 @@ rustup component add llvm-tools
88
cargo install grcov
99

1010
export RUSTFLAGS="-Cinstrument-coverage"
11-
if [ "$(uname -o)" = "Darwin" ]; then
12-
export RUSTFLAGS="-Clink-arg=-Wl,-undefined,dynamic_lookup $RUSTFLAGS"
13-
fi
14-
1511
export LLVM_PROFILE_FILE="${DESTDIR}/default_%m_%p.profraw"
1612
cargo test
1713

1814
grcov "${DESTDIR}" \
1915
--ignore '**/clang-sys*/**' \
2016
--ignore "$HOME/.cargo/**" \
2117
--ignore-not-existing \
22-
--excl-start 'begin_impossible!' \
23-
--excl-stop 'end_impossible!' \
18+
--ignore 'tests/**' \
19+
--excl-start '#(\[cfg\(test\)\]|\[test\])' \
2420
--llvm \
2521
--binary-path "target/debug/" \
2622
-s . \

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: test # Validate the JSON schema.
1+
.PHONY: test # Run the full test suite.
22
test:
33
@cargo test
44

0 commit comments

Comments
 (0)