Skip to content

Commit 9447601

Browse files
Exclude valgrind ctime test from coverage reports
1 parent 9f1d8a2 commit 9447601

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.cirrus.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ task:
7070
- ./ci/cirrus.sh
7171
<< : *CAT_LOGS
7272
gcovr_script:
73-
- gcovr --print-summary --keep --exclude 'src/bench*' --html --html-title "${CIRRUS_CHANGE_IN_REPO:0:7}, STATICPRECOMPUTATION=$STATICPRECOMPUTATION, WIDEMUL=$WIDEMUL" --html-details -o index.html
73+
- gcovr --print-summary --keep --exclude 'src/bench*' --exclude 'src/valgrind_ctime_test.c' --html --html-title "${CIRRUS_CHANGE_IN_REPO:0:7}, STATICPRECOMPUTATION=$STATICPRECOMPUTATION, WIDEMUL=$WIDEMUL" --html-details -o index.html
7474
raw_gcov_artifacts:
7575
path: "**/**.gc??"
7676
coverage_report_artifacts:

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ Run the tests:
9292

9393
To create a report, `gcovr` is recommended, as it includes branch coverage reporting:
9494

95-
$ gcovr --exclude 'src/bench*' --print-summary
95+
$ gcovr --exclude 'src/bench*' --exclude 'src/valgrind_ctime_test.c' --print-summary
9696

9797
To create a HTML report with coloured and annotated source code:
9898

9999
$ mkdir -p coverage
100-
$ gcovr --exclude 'src/bench*' --html --html-details -o coverage/coverage.html
100+
$ gcovr --exclude 'src/bench*' --exclude 'src/valgrind_ctime_test.c' --html --html-details -o coverage/coverage.html
101101

102102
Reporting a vulnerability
103103
------------

0 commit comments

Comments
 (0)