Commit e00d5dd48b2e0d681bb49c5cae3291b39675f40d
1 parent
8b904c83
Experimental: add --exclude-unreachable-branches to gcovr
Showing
2 changed files
with
2 additions
and
2 deletions
Makefile.am
| ... | ... | @@ -93,7 +93,7 @@ cppncss: |
| 93 | 93 | # Add coverage rule |
| 94 | 94 | coverage: |
| 95 | 95 | @if type gcovr >/dev/null 2>&1; then \ |
| 96 | - gcovr -r . -x -o coverage-report-cxx.xml; \ | |
| 96 | + gcovr -r . -x --exclude-unreachable-branches -o coverage-report-cxx.xml; \ | |
| 97 | 97 | else \ |
| 98 | 98 | echo "gcovr script not found in PATH."; \ |
| 99 | 99 | fi; \ | ... | ... |