From: Neil Horman Date: Mon, 16 Jun 2025 22:38:34 +0000 (-0400) Subject: Add target for local coverage report generation X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78051ae9e5482978e60f959e16bd5ea7ecbe840b;p=thirdparty%2Fopenssl.git Add target for local coverage report generation Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/27839) --- diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 1fc14475d77..be772bfebf0 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -540,6 +540,9 @@ debuginfo: $(SHLIBS) $(OBJCOPY) --strip-debug --add-gnu-debuglink=$$i.debug $$i; \ done; +cov-report: $(SHLIBS) + @set -e; gcovr -r . --txt-metric=branch --html --html-details -o openssl-metrics.html + ##@ Documentation build_generated_pods: $(GENERATED_PODS) build_docs: build_man_docs build_html_docs ## Create documentation