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

Commit1846202

Browse files
committed
Fix [install]check in interfaces/libpq/Makefile
The common recipe when TAP tests are disabled doesn't work, because thelibpq-specific recipe wants to define the PATH environment variable, sothe starting '@' is misinterpreted as part of the command instead ofsilencing said command.Fix by setting the environment variable in a way that doesn't interferewith the recipe.Reported-by: Justin Pryzby <pryzby@telsasoft.com>Discussion:https://postgr.es/m/20220720172321.GL12702@telsasoft.com
1 parentc2fa113 commit1846202

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎src/interfaces/libpq/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,13 @@ install: all installdirs install-lib
143143
test-build:
144144
$(MAKE) -Ctest all
145145

146+
checkinstallcheck: export PATH :=$(CURDIR)/test:$(PATH)
147+
146148
check: test-build all
147-
PATH="$(CURDIR)/test:$$PATH"&&$(prove_check)
149+
$(prove_check)
148150

149151
installcheck: test-build all
150-
PATH="$(CURDIR)/test:$$PATH"&&$(prove_installcheck)
152+
$(prove_installcheck)
151153

152154
installdirs: installdirs-lib
153155
$(MKDIR_P)'$(DESTDIR)$(includedir)''$(DESTDIR)$(includedir_internal)''$(DESTDIR)$(datadir)'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp