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

Commitc3d9a66

Browse files
committed
Support coverage on vpath builds
A few paths needed to be tweaked so everything looks into theappropriate directories.Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
1 parent52e1b1b commitc3d9a66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/Makefile.global.in

Lines changed: 3 additions & 3 deletions
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--prefix='$(abs_top_srcdir)'$^
901+
$(GENHTML)$(GENHTML_FLAGS) -o coverage --title='$(GENHTML_TITLE)' --num-spaces=4$^
902902
touch$@
903903

904904
LCOV += --gcov-tool$(GCOV)
@@ -907,12 +907,12 @@ LCOVFLAGS = -q --no-external
907907
all_gcno_files =$(shell find . -name '*.gcno' -print)
908908

909909
lcov_base.info:$(all_gcno_files)
910-
$(LCOV)$(LCOVFLAGS) -c -i -d. -o$@
910+
$(LCOV)$(LCOVFLAGS) -c -i -d. -d$(srcdir) -o$@
911911

912912
all_gcda_files =$(shell find . -name '*.gcda' -print)
913913

914914
lcov_test.info:$(all_gcda_files)
915-
$(LCOV)$(LCOVFLAGS) -c -d. -o$@
915+
$(LCOV)$(LCOVFLAGS) -c -d. -d$(srcdir) -o$@
916916

917917

918918
# hook for clean-up

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp