Skip to content

Commit

Permalink
style: pre-commit.ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 23, 2024
1 parent b7af281 commit 6caddce
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions cmake/CodeCoverage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ function(setup_target_for_coverage_lcov)
${Coverage_NAME}.base
-a
${Coverage_NAME}.capture
--ignore-errors mismatch,gcov
--ignore-errors
mismatch,gcov
--output-file
${Coverage_NAME}.total)
# filter collected data to final coverage report
Expand All @@ -329,15 +330,23 @@ function(setup_target_for_coverage_lcov)
${Coverage_LCOV_ARGS}
--gcov-tool
${GCOV_PATH}
--ignore-errors mismatch,gcov
--ignore-errors
mismatch,gcov
--remove
${Coverage_NAME}.total
${LCOV_EXCLUDES}
--output-file
${Coverage_NAME}.info)
# Generate HTML output
set(LCOV_GEN_HTML_CMD ${GENHTML_PATH} ${GENHTML_EXTRA_ARGS} --ignore-errors mismatch,gcov ${Coverage_GENHTML_ARGS} -o
${Coverage_NAME} ${Coverage_NAME}.info)
set(LCOV_GEN_HTML_CMD
${GENHTML_PATH}
${GENHTML_EXTRA_ARGS}
--ignore-errors
mismatch,gcov
${Coverage_GENHTML_ARGS}
-o
${Coverage_NAME}
${Coverage_NAME}.info)
if(${Coverage_SONARQUBE})
# Generate SonarQube output
set(GCOVR_XML_CMD
Expand Down

0 comments on commit 6caddce

Please sign in to comment.