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
|
set -e
|
||||||
|
|
||||||
# Build RGBDS with gcov support
|
# Build RGBDS with gcov support
|
||||||
|
|
||||||
make coverage -j
|
make coverage -j
|
||||||
|
|
||||||
# Run the tests
|
# Run the tests
|
||||||
@@ -15,8 +16,8 @@ gcov src/**/*.cpp
|
|||||||
mkdir -p coverage
|
mkdir -p coverage
|
||||||
|
|
||||||
# Generate coverage report
|
# Generate coverage report
|
||||||
lcov -c --no-external -d . -o 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
|
genhtml -f -s -o coverage/ coverage/coverage.info --ignore-errors category,corrupt,inconsistent
|
||||||
|
|
||||||
# Open report in web browser
|
# Open report in web browser
|
||||||
if [ "$(uname)" == "Darwin" ]; then
|
if [ "$(uname)" == "Darwin" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user