Fix installcheck case for tap tests
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 24 Dec 2014 15:31:36 +0000 (10:31 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 24 Dec 2014 15:31:36 +0000 (10:31 -0500)
src/Makefile.global.in

index a77b5f174426e26ff7f47c66cb6d400e74295338..7c39d8272467f0a4b76feca11530106021b3664d 100644 (file)
@@ -317,7 +317,7 @@ endef
 ifeq ($(enable_tap_tests),yes)
 
 define prove_installcheck
-cd $(srcdir) && TESTDIR='$(CURDIR)' PATH="$(bindir):$$PATH" PGPORT='6$(DEF_PGPORT)' $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) t/*.pl
+cd $(srcdir) && TESTDIR='$(CURDIR)' PATH="$(bindir):$$PATH" PGPORT='6$(DEF_PGPORT)' top_builddir='$(CURDIR)/$(top_builddir)' $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) t/*.pl
 endef
 
 define prove_check