From 78051ae9e5482978e60f959e16bd5ea7ecbe840b Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Mon, 16 Jun 2025 18:38:34 -0400 Subject: [PATCH] Add target for local coverage report generation Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/27839) --- Configurations/unix-Makefile.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 1fc14475d7..be772bfebf 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