Browse Source

Skip 7 in LCOV

tags/version/0.2.4
Kai Kretschmann 1 month ago
parent
commit
658b9af8ec
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      CMakeModules/CodeCoverage.cmake

+ 1
- 1
CMakeModules/CodeCoverage.cmake View File

@@ -164,7 +164,7 @@ function(SETUP_TARGET_FOR_COVERAGE_LCOV)
164 164
         COMMAND ${LCOV_PATH} ${Coverage_LCOV_ARGS} --rc lcov_branch_coverage=1 --gcov-tool ${GCOV_PATH} --directory . --capture --output-file ${Coverage_NAME}.info
165 165
         # add baseline counters
166 166
         COMMAND ${LCOV_PATH} ${Coverage_LCOV_ARGS} --rc lcov_branch_coverage=1 --gcov-tool ${GCOV_PATH} -a ${Coverage_NAME}.base -a ${Coverage_NAME}.info --output-file ${Coverage_NAME}.total
167
-        COMMAND ${LCOV_PATH} ${Coverage_LCOV_ARGS} --rc lcov_branch_coverage=1 --gcov-tool ${GCOV_PATH} --remove ${Coverage_NAME}.total '*spdlog*' '*gtap*' '*gtest*' '*/8/*' --output-file ${PROJECT_BINARY_DIR}/${Coverage_NAME}.info.cleaned
167
+        COMMAND ${LCOV_PATH} ${Coverage_LCOV_ARGS} --rc lcov_branch_coverage=1 --gcov-tool ${GCOV_PATH} --remove ${Coverage_NAME}.total '*spdlog*' '*gtap*' '*gtest*' '*/7/*' '*/8/*' --output-file ${PROJECT_BINARY_DIR}/${Coverage_NAME}.info.cleaned
168 168
         COMMAND ${GENHTML_PATH} ${Coverage_GENHTML_ARGS} --rc lcov_branch_coverage=1 -o ${Coverage_NAME} ${PROJECT_BINARY_DIR}/${Coverage_NAME}.info.cleaned
169 169
         COMMAND ${CMAKE_COMMAND} -E remove ${Coverage_NAME}.base ${Coverage_NAME}.total ${PROJECT_BINARY_DIR}/${Coverage_NAME}.info.cleaned
170 170
 

Loading…
Cancel
Save
Social stuff:
Mastodon