Skip to content

Commit d2773f9

Browse files
committed
Add PostgreSQL version to coverage output
Also make overriding the title easier. That helps telling where the report came from and labeling different variants of a report. Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
1 parent 4bb5a25 commit d2773f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Makefile.global.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,9 +893,12 @@ coverage: $(local_gcda_files:.gcda=.c.gcov)
893893
.PHONY: coverage-html
894894
coverage-html: coverage-html-stamp
895895

896+
GENHTML_FLAGS = --show-details --legend
897+
GENHTML_TITLE = PostgreSQL $(VERSION)
898+
896899
coverage-html-stamp: lcov_base.info lcov_test.info
897900
rm -rf coverage
898-
$(GENHTML) --show-details --legend --output-directory=coverage --title=PostgreSQL --num-spaces=4 --prefix=$(abs_top_srcdir) $^
901+
$(GENHTML) $(GENHTML_FLAGS) -o coverage --title='$(GENHTML_TITLE)' --num-spaces=4 --prefix='$(abs_top_srcdir)' $^
899902
touch $@
900903

901904
LCOV += --gcov-tool $(GCOV)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy