summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/Modules/CodeCoverage.cmake9
1 files changed, 5 insertions, 4 deletions
diff --git a/cmake/Modules/CodeCoverage.cmake b/cmake/Modules/CodeCoverage.cmake
index 77586ab..98e3274 100644
--- a/cmake/Modules/CodeCoverage.cmake
+++ b/cmake/Modules/CodeCoverage.cmake
@@ -145,19 +145,20 @@ FUNCTION(SETUP_TARGET_FOR_COVERAGE _targetname _testrunner _outputname)
COMMAND ${LCOV_PATH} --directory . --zerocounters
# Create baseline coverage data file
- COMMAND ${LCOV_PATH} -c -i -d . -o ${_outputname}.baseline.info -q
+ COMMAND ${LCOV_PATH} -c -i -d . -o ${_outputname}.baseline.info
# Run tests
COMMAND ${_testrunner} ${ARGV3}
# Capturing lcov counters and generating report
- COMMAND ${LCOV_PATH} --directory . --capture --output-file ${_outputname}.info -q
+ COMMAND ${LCOV_PATH} --directory . --capture --output-file ${_outputname}.info
# Combine the baseline and the test data
- COMMAND ${LCOV_PATH} -a ${_outputname}.info -a ${_outputname}.baseline.info -o ${_outputname}.info -q
+ COMMAND ${LCOV_PATH} -a ${_outputname}.info -a ${_outputname}.baseline.info -o ${_outputname}.info
# 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 -q
+ COMMAND ${LCOV_PATH} --list ${_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