mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Ignore errors to allow lcov 2.3 to work
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user