~singpolyma/biboumi

f880428a5a8ff24d0d3df036c46edee0c8b2d49f — louiz’ 3 years ago a3e865a
Fix the --remove pattern in lcov to exclude catch from the coverage
1 files changed, 1 insertions(+), 1 deletions(-)

M cmake/Modules/CodeCoverage.cmake
M cmake/Modules/CodeCoverage.cmake => cmake/Modules/CodeCoverage.cmake +1 -1
@@ 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/*' 'build/*' --output-file ${_outputname}.info -q
        COMMAND ${LCOV_PATH} --remove ${_outputname}.info '/usr/*' '*/external/*' --output-file ${_outputname}.info -q

        # Generate the report
        COMMAND ${GENHTML_PATH} -o ${_outputname} ${_outputname}.info