Skip to content

Commit

Permalink
Update for lcov-2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
besser82 committed Jan 7, 2025
1 parent ff91eeb commit d7d1509
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build-aux/ci/summarize-coverage
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ set -x
# Merge all of the gcov output into one overview file using lcov,
# then prune data for the tests themselves, and for system libraries.

lcov --gcov-tool "$GCOV" --rc lcov_branch_coverage=1 \
lcov --gcov-tool "$GCOV" --rc branch_coverage=1 \
--directory . --output-file "$unpruned" \
--capture

lcov --gcov-tool "$GCOV" --rc lcov_branch_coverage=1 \
--directory . --output-file "$1" \
--remove "$unpruned" '/usr/*' '*test*'
lcov --gcov-tool "$GCOV" --rc branch_coverage=1 \
--directory . --output-file "$1" --ignore-errors unused \
--remove "$unpruned" '/usr/*' '*test*' '*gen-des-tables*'

0 comments on commit d7d1509

Please sign in to comment.