summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-10-03 02:10:14 +0200
committerlouiz’ <louiz@louiz.org>2016-10-03 02:10:14 +0200
commitfca25b7704014f7a7dec6185afe8e27b591776e4 (patch)
treeea687db1821296e2000a85817e5e8488566be70b /cmake
parent729078a238e563d071f7905e01d3029a880fd479 (diff)
downloadbiboumi-fca25b7704014f7a7dec6185afe8e27b591776e4.tar.gz
biboumi-fca25b7704014f7a7dec6185afe8e27b591776e4.tar.bz2
biboumi-fca25b7704014f7a7dec6185afe8e27b591776e4.tar.xz
biboumi-fca25b7704014f7a7dec6185afe8e27b591776e4.zip
Remove build/* from the coverage, because that code isn’t part of biboumi
Diffstat (limited to 'cmake')
-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 4f54327..4ff5851 100644
--- a/cmake/Modules/CodeCoverage.cmake
+++ b/cmake/Modules/CodeCoverage.cmake
@@ -157,7 +157,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} --remove ${_outputname}.info 'tests/*' '/usr/*' 'external/*' --output-file ${_outputname}.info.cleaned -q
+ COMMAND ${LCOV_PATH} --remove ${_outputname}.info 'tests/*' '/usr/*' 'external/*' 'build/*' --output-file ${_outputname}.info.cleaned -q
# Generate the report
COMMAND ${GENHTML_PATH} -o ${_outputname} ${_outputname}.info.cleaned