Skip to content

Commit

Permalink
Merge pull request #3785 from canonical/fix-coverage-exclusion
Browse files Browse the repository at this point in the history
[cmake] Fix exclusion of build files from coverage
  • Loading branch information
georgeliao authored Dec 6, 2024
2 parents 6b5aebe + c0406f0 commit fa725c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ if(cmake_build_type_lower MATCHES "coverage")
'/usr/*'
${CMAKE_SOURCE_DIR}'/3rd-party/*'
${CMAKE_SOURCE_DIR}'/tests/*'
${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}'/*'
--output-file coverage.cleaned
COMMAND ${CMAKE_COMMAND} -E remove coverage.info
COMMAND ${GENHTML} -o coverage coverage.cleaned
Expand Down

0 comments on commit fa725c2

Please sign in to comment.