Skip to content

Commit 2695c65

Browse files
committed
Exclude fuzzing code from kcov
1 parent b0aa809 commit 2695c65

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/kcov_ci.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,14 @@ mkdir kcov-output
88
echo "=> Running kcov on tests"
99
kcov \
1010
--collect-only \
11-
--include-pattern=src/ \
1211
--exclude-pattern=$HOME/.cache \
12+
--exclude-pattern=src/fuzz.zig \
13+
--exclude-pattern=src/ledger/fuzz.zig \
14+
--exclude-pattern=src/accountsdb/fuzz.zig \
15+
--exclude-pattern=src/accountsdb/snapshot/fuzz.zig \
16+
--exclude-pattern=src/gossip/fuzz_table.zig \
17+
--exclude-pattern=src/gossip/fuzz_service.zig \
18+
--include-pattern=src/ \
1319
kcov-output \
1420
zig-out/bin/test
1521
kcov --merge kcov-merged kcov-output/

0 commit comments

Comments
 (0)