]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add a target to generate local coverage reports
authorNeil Horman <nhorman@openssl.org>
Mon, 16 Jun 2025 22:46:58 +0000 (18:46 -0400)
committerNeil Horman <nhorman@openssl.org>
Fri, 20 Jun 2025 10:40:14 +0000 (06:40 -0400)
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)

Configurations/unix-Makefile.tmpl

index be772bfebf0c005b38c1b7fa85a58cddf2035293..fe215679badd580fcb769b03683abbbe939653c8 100644 (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)