Skip to content

Commit

Permalink
ignore empty .gcda files
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Feb 19, 2025
1 parent a510086 commit 28371ec
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 @@ -122,7 +122,7 @@ function(set_default_compile_options target)
COMMAND
${LCOV} --directory . --capture --exclude '*/external/*' --exclude
'*/tests/*' --exclude '/usr/*' --exclude '/Applications/*' --exclude
'v1/*' --output-file coverage.info --ignore-errors unused
'v1/*' --output-file coverage.info --ignore-errors unused --ignore-errors empty
# generate report
COMMAND ${GENHTML} --demangle-cpp -o coverage coverage.info
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
Expand Down

0 comments on commit 28371ec

Please sign in to comment.