mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 23:04:35 +02:00
Don't collect coverage of experimental code:
close #1344 Code from beast/_experimental will be ignored when collecting coverage. Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
committed by
Vinnie Falco
parent
34037d538e
commit
f90712d678
@@ -135,9 +135,9 @@ if [[ $VARIANT == "coverage" ]]; then
|
|||||||
run_tests "$BIN_DIR" fat-tests
|
run_tests "$BIN_DIR" fat-tests
|
||||||
# https://bugs.launchpad.net/ubuntu/+source/lcov/+bug/1163758
|
# https://bugs.launchpad.net/ubuntu/+source/lcov/+bug/1163758
|
||||||
lcov --no-external -c -d "$BOOST_ROOT" -o testrun-all.info > /dev/null 2>&1
|
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-all.info -o lcov-diff.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
|
lcov -e "lcov-diff.info" "$INC_DIR/*" -o lcov.info > /dev/null
|
||||||
|
lcov --remove "lcov.info" "$INC_DIR/_experimental/*" -o lcov.info > /dev/null
|
||||||
~/.local/bin/codecov -X gcov -f lcov.info
|
~/.local/bin/codecov -X gcov -f lcov.info
|
||||||
find "$BOOST_ROOT" -name "*.gcda" | xargs rm -f
|
find "$BOOST_ROOT" -name "*.gcda" | xargs rm -f
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user