Skip to content

Commit

Permalink
Suppress gcov errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards committed Jan 6, 2025
1 parent 9a16a58 commit ba15008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/test-code-coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ fi

bold "Running lcov and genhtml . . .";
printf "\033[2m";
lcov --directory . --capture --output-file "coverage.info.tmp" --test-name "libsemigroups_1_0_0" --no-checksum --no-external --compat-libtool --gcov-tool "gcov" | grep -v "ignoring data for external file"
lcov --directory . --remove "coverage.info.tmp" "/tmp/*" "/Applications/*" --output-file "coverage.info"
lcov --ignore-errors mismatch,negative --directory . --capture --output-file "coverage.info.tmp" --test-name "libsemigroups_1_0_0" --no-checksum --no-external --compat-libtool --gcov-tool "gcov" | grep -v "ignoring data for external file"
lcov --ignore-errors unused --directory . --remove "coverage.info.tmp" "/Applications/*" --output-file "coverage.info"
LANG=C genhtml --prefix . --output-directory "coverage" --title "libsemigroups Code Coverage" --legend --show-details "coverage.info.tmp"
rm -f coverage.info.tmp
printf "\033[0m";
Expand Down

0 comments on commit ba15008

Please sign in to comment.