generate_coverage_report: Execute library tests when generating the coverage report. This increased the current lines test coverage from 93.9% to 94.0%.

This commit is contained in:
Martin Ettl 2015-08-14 01:06:50 +02:00
parent 7ec5b27caf
commit 3ab6c5aa85
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ set -e
make clean
rm -rf coverage_report
make test CXXFLAGS="-g -fprofile-arcs -ftest-coverage"
test/cfg/runtests.sh
gcov lib/*.cpp -o lib/
lcov --directory ./ --capture --output-file lcov_tmp.info -b ./
lcov --extract lcov_tmp.info "$(pwd)/*" --output-file lcov.info