]> granicus.if.org Git - postgresql/commitdiff
Fix TAP tests with "make installcheck".
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 29 Jul 2015 17:59:24 +0000 (20:59 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 29 Jul 2015 17:59:24 +0000 (20:59 +0300)
I neglected that the prove_installcheck rule also needs to also define
PG_REGRESS, like prove_check does.

src/Makefile.global.in

index 1704ae0d1023a6556c82acc1a74de1f13e0f9e43..577299576a649d1498881a9376e4de13988291fd 100644 (file)
@@ -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