Commit e00d5dd48b2e0d681bb49c5cae3291b39675f40d

Authored by Jürgen Knödlseder
1 parent 8b904c83

Experimental: add --exclude-unreachable-branches to gcovr

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; \
... ...
src/ctbin/ctbin.cpp
... ... @@ -62,7 +62,7 @@ ctbin::ctbin(void) : ctool(CTBIN_NAME, CTBIN_VERSION)
62 62  
63 63 // Return
64 64 return;
65   -}
  65 +} // GCOV_EXCL_LINE
66 66  
67 67  
68 68 /***********************************************************************//**
... ...