Ignore errors to allow lcov 2.3 to work

This commit is contained in:
Rangi42
2025-07-08 17:02:28 -04:00
parent 6869e4807c
commit 6736d2ec66

View File

@@ -2,6 +2,7 @@
set -e
# Build RGBDS with gcov support
make coverage -j
# Run the tests
@@ -15,8 +16,8 @@ gcov src/**/*.cpp
mkdir -p coverage
# Generate coverage report
lcov -c --no-external -d . -o coverage/coverage.info
genhtml -f -s -o coverage/ coverage/coverage.info
lcov -c --no-external -d . -o coverage/coverage.info --ignore-errors format,inconsistent,unsupported
genhtml -f -s -o coverage/ coverage/coverage.info --ignore-errors category,corrupt,inconsistent
# Open report in web browser
if [ "$(uname)" == "Darwin" ]; then