Skip to content

Commit

Permalink
Ignore unused exclude patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
enwi committed Feb 12, 2025
1 parent b413ed5 commit c0a1f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CodeCoverage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function(SETUP_TARGET_FOR_COVERAGE)
COMMAND ${Coverage_EXECUTABLE}

# Capturing lcov counters and generating report
COMMAND ${LCOV_PATH} --directory . --capture --output-file ${Coverage_NAME}.info --ignore-errors mismatch
COMMAND ${LCOV_PATH} --directory . --capture --output-file ${Coverage_NAME}.info --ignore-errors mismatch unused
COMMAND ${LCOV_PATH} --remove ${Coverage_NAME}.info ${COVERAGE_EXCLUDES} --output-file ${Coverage_NAME}.info.cleaned
COMMAND ${GENHTML_PATH} -o ${Coverage_NAME} ${Coverage_NAME}.info.cleaned
COMMAND ${CMAKE_COMMAND} -E remove ${Coverage_NAME}.info ${Coverage_NAME}.info.cleaned
Expand Down

0 comments on commit c0a1f33

Please sign in to comment.