File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR
156
156
add_custom_target (coverage
157
157
COMMAND ${CMAKE_COMMAND} -E make_directory ${CODE_COVERAGE_OUTPUT_DIR}
158
158
COMMAND ctest -V -L CORE -j${parallel_tests}
159
- COMMAND ${CODE_COVERAGE_LCOV} ${LCOV_FLAGS} --capture --directory ${CMAKE_BINARY_DIR} --output -file ${CODE_COVERAGE_INFO_FILE}
159
+ COMMAND ${CODE_COVERAGE_LCOV} ${LCOV_FLAGS} --ignore -errors mismatch -- capture --directory ${CMAKE_BINARY_DIR} --output -file ${CODE_COVERAGE_INFO_FILE}
160
160
COMMAND ${CODE_COVERAGE_LCOV} ${LCOV_FLAGS} --remove ${CODE_COVERAGE_INFO_FILE} '/usr/*' --output -file ${CODE_COVERAGE_INFO_FILE}
161
161
COMMAND ${CODE_COVERAGE_GENHTML} ${CODE_COVERAGE_INFO_FILE} --output -directory ${CODE_COVERAGE_OUTPUT_DIR}
162
162
DEPENDS
You can’t perform that action at this time.
0 commit comments