From cacfa694b0a034a68a5226c726b9a3a52adf43bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 26 Oct 2009 17:56:56 +0100 Subject: [PATCH] Restructuring: Generate coverage report --- generate_coverage_report | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generate_coverage_report b/generate_coverage_report index 50c40cdb7..c9707703f 100755 --- a/generate_coverage_report +++ b/generate_coverage_report @@ -2,11 +2,11 @@ make clean rm -r coverage_report make test CXXFLAGS="-Wall -Wextra -pedantic -g -fprofile-arcs -ftest-coverage" -gcov src/*.cpp -o src/ +gcov lib/*.cpp -o lib/ lcov --directory ./ --capture --output-file lcov.info -b ./ genhtml lcov.info -o coverage_report -rm src/*.gcda -rm src/*.gcno +rm lib/*.gcda +rm lib/*.gcno rm test/*.gcda rm test/*.gcno rm lcov.info