We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b57bab5 commit 7082371Copy full SHA for 7082371
1 file changed
generate_coverage_report
@@ -4,11 +4,12 @@ make clean
4
rm -rf coverage_report
5
make test CXXFLAGS="-Wall -Wextra -pedantic -g -fprofile-arcs -ftest-coverage"
6
gcov lib/*.cpp -o lib/
7
-lcov --directory ./ --capture --output-file lcov.info -b ./
+lcov --directory ./ --capture --output-file lcov_tmp.info -b ./
8
+lcov --extract lcov_tmp.info "$(pwd)/*" --output-file lcov.info
9
genhtml lcov.info -o coverage_report
10
rm lib/*.gcda
11
rm lib/*.gcno
12
rm test/*.gcda
13
rm test/*.gcno
-rm lcov.info
14
+rm lcov.info lcov_tmp.info
15
make clean
0 commit comments