File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 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
156156 add_custom_target (coverage
157157 COMMAND ${CMAKE_COMMAND} -E make_directory ${CODE_COVERAGE_OUTPUT_DIR}
158158 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}
160160 COMMAND ${CODE_COVERAGE_LCOV} ${LCOV_FLAGS} --remove ${CODE_COVERAGE_INFO_FILE} '/usr/*' --output -file ${CODE_COVERAGE_INFO_FILE}
161161 COMMAND ${CODE_COVERAGE_GENHTML} ${CODE_COVERAGE_INFO_FILE} --output -directory ${CODE_COVERAGE_OUTPUT_DIR}
162162 DEPENDS
You can’t perform that action at this time.
0 commit comments