LCOV: updated the generate_coverage_report to avoid some redundant compiler warnings

This commit is contained in:
Daniel Marjamäki 2011-03-14 11:21:35 +01:00
parent 660cb2ab28
commit 4a76d75f7e
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
set -e set -e
make clean make clean
rm -rf coverage_report rm -rf coverage_report
make test CXXFLAGS="-Wall -Wextra -pedantic -g -fprofile-arcs -ftest-coverage" make test CXXFLAGS="-g -fprofile-arcs -ftest-coverage"
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