From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: Wed, 29 Jul 2015 17:59:24 +0000 (+0300)
Subject: Fix TAP tests with "make installcheck".
X-Git-Tag: REL9_6_BETA1~1597
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7f0b28c7a67a8602c65d6b38d40b38d07548fbd;p=postgresql

Fix TAP tests with "make installcheck".

I neglected that the prove_installcheck rule also needs to also define
PG_REGRESS, like prove_check does.
---

diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 1704ae0d10..577299576a 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -334,7 +334,7 @@ endef
 ifeq ($(enable_tap_tests),yes)
 
 define prove_installcheck
-cd $(srcdir) && TESTDIR='$(CURDIR)' PATH="$(bindir):$$PATH" PGPORT='6$(DEF_PGPORT)' top_builddir='$(CURDIR)/$(top_builddir)' $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) t/*.pl
+cd $(srcdir) && TESTDIR='$(CURDIR)' PATH="$(bindir):$$PATH" PGPORT='6$(DEF_PGPORT)' top_builddir='$(CURDIR)/$(top_builddir)' PG_REGRESS='$(CURDIR)/$(top_builddir)/src/test/regress/pg_regress' $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) t/*.pl
 endef
 
 define prove_check