Add a target to generate local coverage reports

Add a target to allow developers to generate coverage reports for a
build like coveralls does.  This will let us identify rarely used
branches when doing development, so that we can optimize them.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/27839)
This commit is contained in:
Neil Horman 2025-06-16 18:46:58 -04:00
parent 78051ae9e5
commit 03839dc6ef

View File

@ -541,7 +541,7 @@ debuginfo: $(SHLIBS)
done;
cov-report: $(SHLIBS)
@set -e; gcovr -r . --txt-metric=branch --html --html-details -o openssl-metrics.html
@set -e; gcovr -r . --txt-metric=branch --html --html-details -o openssl-metrics.html
##@ Documentation
build_generated_pods: $(GENERATED_PODS)