aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlouiz’2018-06-11 18:45:30 (GMT)
committerlouiz’2018-06-11 18:45:30 (GMT)
commit11020cb805932b2de7e17d80a011501cda29030f (patch)
treeaec07b2302d9eb9b07c8c9288d74c50e3b422f7c
parentbc1652378c43f27f0c0323641e95d60968b8d143 (diff)
downloadbiboumi-debug_coverage.tar.gz
biboumi-debug_coverage.tar.xz
-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