Skip to content

Commit

Permalink
perf: switch to output lcov format (#89)
Browse files Browse the repository at this point in the history
Signed-off-by: msclock <msclock@qq.com>
  • Loading branch information
msclock committed Apr 5, 2024
1 parent f9a0e68 commit 16a0842
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/test/Coverage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -681,11 +681,11 @@ function(add_code_coverage_all_targets)
add_custom_target(
ccov-all-capture
COMMAND ${CMAKE_COMMAND} -E rm -f
${CMAKE_COVERAGE_OUTPUT_DIRECTORY}/coverage.xml
${CMAKE_COVERAGE_OUTPUT_DIRECTORY}/coverage.info
COMMAND
${GCOVR_PATH} --print-summary --xml-pretty --root ${CMAKE_SOURCE_DIR}
${GCOVR_PATH} --print-summary -lcov --root ${CMAKE_SOURCE_DIR}
--exclude-noncode-lines --output
${CMAKE_COVERAGE_OUTPUT_DIRECTORY}/coverage.xml ${GCOV_OPTION}
${CMAKE_COVERAGE_OUTPUT_DIRECTORY}/coverage.info ${GCOV_OPTION}
${_include_command} ${_exclude_command}
DEPENDS ccov-all-processing)

Expand Down

0 comments on commit 16a0842

Please sign in to comment.