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

Commit5f340cb

Browse files
committed
Reinstate genhtml --prefix option for non-vpath builds
Inc3d9a66, the genhtml --prefix optionwas removed to get slightly better behavior for vpath builds. genhtmlwould then automatically pick a suitable prefix. However, for non-vpathbuilds, this makes the coverage output dependent on the length of thepath where the source code happens to be, leading to confusinglyarbitrary results. So put the --prefix option back for non-vpathbuilds.
1 parentb81eba6 commit5f340cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Makefile.global.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ GENHTML_TITLE = PostgreSQL $(VERSION)
898898

899899
coverage-html-stamp: lcov_base.info lcov_test.info
900900
rm -rf coverage
901-
$(GENHTML)$(GENHTML_FLAGS) -o coverage --title='$(GENHTML_TITLE)' --num-spaces=4$^
901+
$(GENHTML)$(GENHTML_FLAGS) -o coverage --title='$(GENHTML_TITLE)' --num-spaces=4$(if$(filter no,$(vpath_build)),--prefix='$(abs_top_srcdir)')$^
902902
touch$@
903903

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp