aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgen-coverage-report.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/gen-coverage-report.sh b/gen-coverage-report.sh
index 1a199cf..b11f3f9 100755
--- a/gen-coverage-report.sh
+++ b/gen-coverage-report.sh
@@ -29,9 +29,15 @@ make check
29echo "Generating report" 29echo "Generating report"
30mkdir -p $DESTDIR 30mkdir -p $DESTDIR
31find tests -name '*.gcda' -o -name '*.gcno' -delete 31find tests -name '*.gcda' -o -name '*.gcno' -delete
32lcov --directory . --capture --output-file $DESTDIR/coverage.tmp \ 32lcov --capture --output-file $DESTDIR/coverage.tmp \
33 --rc lcov_branch_coverage=1 \
34 --directory crypto \
35 --directory ssl \
36 --directory tls \
33 --test-name "LibreSSL $VERSION" 37 --test-name "LibreSSL $VERSION"
34genhtml --prefix . --output-directory $DESTDIR \ 38genhtml --prefix . --output-directory $DESTDIR \
39 --branch-coverage --function-coverage \
40 --rc lcov_branch_coverage=1 \
35 --title "LibreSSL $VERSION" --legend --show-detail $DESTDIR/coverage.tmp 41 --title "LibreSSL $VERSION" --legend --show-detail $DESTDIR/coverage.tmp
36 42
37echo "Code coverage report is available under $DESTDIR" 43echo "Code coverage report is available under $DESTDIR"