Restructuring: Generate coverage report

This commit is contained in:
Daniel Marjamäki 2009-10-26 17:56:56 +01:00
parent cf62e8ce64
commit cacfa694b0
1 changed files with 3 additions and 3 deletions

View File

@ -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