Fix installcheck case for tap tests
authorAndrew Dunstan
Wed, 24 Dec 2014 15:31:36 +0000 (10:31 -0500)
committerAndrew Dunstan
Wed, 24 Dec 2014 15:32:02 +0000 (10:32 -0500)
src/Makefile.global.in

index d1f2049b329fa16cd4859bc23a9c35032c174278..73a868384b12ad900341c7e953b5107b3a36cc50 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