summaryrefslogtreecommitdiff
path: root/src/makefiles
diff options
context:
space:
mode:
authorRobert Haas2011-07-25 14:51:02 +0000
committerRobert Haas2011-07-25 14:51:02 +0000
commit8cca49d8a0d969e1c0f08779e8230466e395b813 (patch)
treefedc472d0aacbc153e212b577646e83c245de9c2 /src/makefiles
parentf5af8eed9201e50bc5c761809ff57ef1ace91502 (diff)
Add some environment checks prior to sepgsql regression testing.
This probably needs more work, but it's a start. KaiGai Kohei
Diffstat (limited to 'src/makefiles')
-rw-r--r--src/makefiles/pgxs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefiles/pgxs.mk b/src/makefiles/pgxs.mk
index 05ed8416a9f..cb4dc972a8c 100644
--- a/src/makefiles/pgxs.mk
+++ b/src/makefiles/pgxs.mk
@@ -257,7 +257,7 @@ ifndef PGXS
endif
# against installed postmaster
-installcheck: submake
+installcheck: submake $(REGRESS_PREP)
$(pg_regress_installcheck) $(REGRESS_OPTS) $(REGRESS)
ifdef PGXS
@@ -265,7 +265,7 @@ check:
@echo '"$(MAKE) check" is not supported.'
@echo 'Do "$(MAKE) install", then "$(MAKE) installcheck" instead.'
else
-check: all submake
+check: all submake $(REGRESS_PREP)
$(pg_regress_check) --extra-install=$(subdir) $(REGRESS_OPTS) $(REGRESS)
endif
endif # REGRESS