Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd2773f9

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

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) -ocoverage --title='$(GENHTML_TITLE)' --num-spaces=4 --prefix='$(abs_top_srcdir)'$^
899902
touch$@
900903

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp