From 1cf037f11edcbb783e7b322b89e33a94f3f7dc0c Mon Sep 17 00:00:00 2001 From: Soonho Kong Date: Sat, 9 Nov 2013 21:57:25 -0500 Subject: [PATCH] chore(cmake): do not delete coverage.info.cleaned which will be used for coveralls.io --- src/cmake/Modules/CodeCoverage.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmake/Modules/CodeCoverage.cmake b/src/cmake/Modules/CodeCoverage.cmake index fa4ed1a2e..9941c3a7d 100644 --- a/src/cmake/Modules/CodeCoverage.cmake +++ b/src/cmake/Modules/CodeCoverage.cmake @@ -94,7 +94,7 @@ FUNCTION(SETUP_TARGET_FOR_COVERAGE _targetname _testrunner _outputname) COMMAND ${LCOV_PATH} --directory . --capture --output-file ${_outputname}.info COMMAND ${LCOV_PATH} --remove ${_outputname}.info 'tests/*' '/usr/*' --output-file ${_outputname}.info.cleaned COMMAND ${GENHTML_PATH} -o ${_outputname} ${_outputname}.info.cleaned - COMMAND ${CMAKE_COMMAND} -E remove ${_outputname}.info ${_outputname}.info.cleaned + COMMAND ${CMAKE_COMMAND} -E remove ${_outputname}.info WORKING_DIRECTORY ${CMAKE_BINARY_DIR} COMMENT "Resetting code coverage counters to zero.\nProcessing code coverage counters and generating report."