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:
Damian Jarek authored and Vinnie Falco committed 2018-12-03 14:19:52 -08:00
1 parent 34037d538e
commit f90712d678
1 file changed
+2 -2
+2 -2
View File
@@ -135,9 +135,9 @@ if [[ $VARIANT == "coverage" ]]; then
run_tests "$BIN_DIR" fat-tests
# 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 --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 -a baseline.info -a testrun-all.info -o lcov-diff.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
find "$BOOST_ROOT" -name "*.gcda" | xargs rm -f