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:
parent
7ec5b27caf
commit
3ab6c5aa85
|
@ -3,6 +3,7 @@ set -e
|
||||||
make clean
|
make clean
|
||||||
rm -rf coverage_report
|
rm -rf coverage_report
|
||||||
make test CXXFLAGS="-g -fprofile-arcs -ftest-coverage"
|
make test CXXFLAGS="-g -fprofile-arcs -ftest-coverage"
|
||||||
|
test/cfg/runtests.sh
|
||||||
gcov lib/*.cpp -o lib/
|
gcov lib/*.cpp -o lib/
|
||||||
lcov --directory ./ --capture --output-file lcov_tmp.info -b ./
|
lcov --directory ./ --capture --output-file lcov_tmp.info -b ./
|
||||||
lcov --extract lcov_tmp.info "$(pwd)/*" --output-file lcov.info
|
lcov --extract lcov_tmp.info "$(pwd)/*" --output-file lcov.info
|
||||||
|
|
Loading…
Reference in New Issue