summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-12-10 19:03:11 +0100
committerlouiz’ <louiz@louiz.org>2016-12-10 20:11:30 +0100
commit4860201d8c1429073e009945f42745269daa31a3 (patch)
tree05692e81cd4653d6d569cc192dbf9438ef950f3b /cmake
parent3961df3d5464441db8b8a92b0ac906220ebc2c1a (diff)
downloadbiboumi-4860201d8c1429073e009945f42745269daa31a3.tar.gz
biboumi-4860201d8c1429073e009945f42745269daa31a3.tar.bz2
biboumi-4860201d8c1429073e009945f42745269daa31a3.tar.xz
biboumi-4860201d8c1429073e009945f42745269daa31a3.zip
Add a make coverage target to merge all other coverages, and upload to codecov
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/CodeCoverage.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/CodeCoverage.cmake b/cmake/Modules/CodeCoverage.cmake
index 20f2110..77586ab 100644
--- a/cmake/Modules/CodeCoverage.cmake
+++ b/cmake/Modules/CodeCoverage.cmake
@@ -157,10 +157,10 @@ 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/*' 'build/*' --output-file ${_outputname}.info.cleaned -q
+ COMMAND ${LCOV_PATH} --remove ${_outputname}.info 'tests/*' '/usr/*' 'external/*' 'build/*' --output-file ${_outputname}.info -q
# Generate the report
- COMMAND ${GENHTML_PATH} -o ${_outputname} ${_outputname}.info.cleaned
+ COMMAND ${GENHTML_PATH} -o ${_outputname} ${_outputname}.info
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
COMMENT "Resetting code coverage counters to zero.\nProcessing code coverage counters and generating report."