LCOV: updated the generate_coverage_report to avoid some redundant compiler warnings
This commit is contained in:
parent
660cb2ab28
commit
4a76d75f7e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue