mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 06:44:39 +02:00
Ignore experimental files in coverage
This commit is contained in:
@@ -134,9 +134,10 @@ if [[ $VARIANT == "coverage" ]]; then
|
||||
lcov --no-external -c -i -d "$BOOST_ROOT" -o baseline.info > /dev/null
|
||||
run_tests "$BIN_DIR" fat-tests
|
||||
# https://bugs.launchpad.net/ubuntu/+source/lcov/+bug/1163758
|
||||
lcov --no-external -c -d "$BOOST_ROOT" -o testrun.info > /dev/null 2>&1
|
||||
lcov -a baseline.info -a testrun.info -o lcov-all.info > /dev/null
|
||||
lcov -e "lcov-all.info" "$INC_DIR/*" -o lcov.info > /dev/null
|
||||
lcov --no-external -c -d "$BOOST_ROOT" -o testrun-all.info > /dev/null 2>&1
|
||||
lcov --remove "testrun-all.info" "$INC_DIR/_experimental/\*" -o testrun.info > /dev/null
|
||||
lcov -a baseline.info -a testrun.info -o lcov-diff.info > /dev/null
|
||||
lcov -e "lcov-diff.info" "$INC_DIR/*" -o lcov.info > /dev/null
|
||||
~/.local/bin/codecov -X gcov -f lcov.info
|
||||
find "$BOOST_ROOT" -name "*.gcda" | xargs rm -f
|
||||
|
||||
|
Reference in New Issue
Block a user