File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -92,12 +92,14 @@ Run the tests:
9292
9393To create a report, ` gcovr ` is recommended, as it includes branch coverage reporting:
9494
95- $ gcovr --merge-mode-functions=separate --exclude 'src/bench*' --exclude 'src/modules/.*/bench_impl.h' --print-summary
95+ $ gcovr --gcov-ignore-parse-errors=all -- merge-mode-functions=separate --exclude 'src/bench*' --exclude 'src/modules/.*/bench_impl.h' --print-summary
9696
9797To create a HTML report with coloured and annotated source code:
9898
9999 $ mkdir -p coverage
100- $ gcovr --merge-mode-functions=separate --exclude 'src/bench*' --exclude 'src/modules/.*/bench_impl.h' --html --html-details -o coverage/coverage.html
100+ $ gcovr --gcov-ignore-parse-errors=all --merge-mode-functions=separate --exclude 'src/bench*' --exclude 'src/modules/.*/bench_impl.h' --html --html-details -o coverage/coverage.html
101+
102+ On ` gcovr ` >=8.3, ` --gcov-ignore-parse-errors=all ` can be replaced with ` --gcov-suspicious-hits-threshold=140737488355330 ` .
101103
102104#### Exhaustive tests
103105
You can’t perform that action at this time.
0 commit comments