From 3ab6c5aa85c78f6617474462e817e6bb786aaed9 Mon Sep 17 00:00:00 2001 From: Martin Ettl Date: Fri, 14 Aug 2015 01:06:50 +0200 Subject: [PATCH] generate_coverage_report: Execute library tests when generating the coverage report. This increased the current lines test coverage from 93.9% to 94.0%. --- generate_coverage_report | 1 + 1 file changed, 1 insertion(+) diff --git a/generate_coverage_report b/generate_coverage_report index c280817dc..273c9cbbb 100755 --- a/generate_coverage_report +++ b/generate_coverage_report @@ -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