diff options
author | louiz’ <louiz@louiz.org> | 2018-06-11 20:25:53 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-06-11 20:25:53 +0200 |
commit | bc1652378c43f27f0c0323641e95d60968b8d143 (patch) | |
tree | 899b97397d3139cddec6db8d48e919c29db2354d /cmake/Modules | |
parent | 72c3324cf38f0173676f123ed4d8e3418c66f14b (diff) | |
download | biboumi-bc1652378c43f27f0c0323641e95d60968b8d143.tar.gz biboumi-bc1652378c43f27f0c0323641e95d60968b8d143.tar.bz2 biboumi-bc1652378c43f27f0c0323641e95d60968b8d143.tar.xz biboumi-bc1652378c43f27f0c0323641e95d60968b8d143.zip |
Un-quiet the lcov commands to find out why it’s different up there
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/CodeCoverage.cmake | 9 |
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 |