summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-06-11 20:45:30 +0200
committerlouiz’ <louiz@louiz.org>2018-06-11 20:45:30 +0200
commit11020cb805932b2de7e17d80a011501cda29030f (patch)
treeaec07b2302d9eb9b07c8c9288d74c50e3b422f7c
parentbc1652378c43f27f0c0323641e95d60968b8d143 (diff)
downloadbiboumi-debug_coverage.tar.gz
biboumi-debug_coverage.tar.bz2
biboumi-debug_coverage.tar.xz
biboumi-debug_coverage.zip
Try somethingdebug_coverage
-rw-r--r--cmake/Modules/CodeCoverage.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/CodeCoverage.cmake b/cmake/Modules/CodeCoverage.cmake
index 98e3274..66a3e36 100644
--- a/cmake/Modules/CodeCoverage.cmake
+++ b/cmake/Modules/CodeCoverage.cmake
@@ -158,7 +158,7 @@ FUNCTION(SETUP_TARGET_FOR_COVERAGE _targetname _testrunner _outputname)
# Remove information about source files that are not part of
# the test (system file, external libraries, etc)
COMMAND ${LCOV_PATH} --list ${_outputname}.info
- COMMAND ${LCOV_PATH} --remove ${_outputname}.info 'tests/*' '/usr/*' 'external/*' 'build/*' --output-file ${_outputname}.info
+ COMMAND ${LCOV_PATH} --remove ${_outputname}.info '*/tests/*' '/usr/*' '*/external/*' '*/build/*' --output-file ${_outputname}.info
# Generate the report
COMMAND ${GENHTML_PATH} -o ${_outputname} ${_outputname}.info