aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2016-11-14 14:53:07 -0800
committerAndres Freund <andres@anarazel.de>2016-11-14 14:53:07 -0800
commitffa8c3d8521bbd7c6da497264f1a12572a1ff713 (patch)
tree7f558af33568588a55b1052607c38381d2b690de /src
parentc99f876e9a1e2a9a04d02a8aaf046cd9125e9264 (diff)
downloadpostgresql-ffa8c3d8521bbd7c6da497264f1a12572a1ff713.tar.gz
postgresql-ffa8c3d8521bbd7c6da497264f1a12572a1ff713.zip
Provide NO_INSTALLCHECK option for pgxs.
This allows us to avoid running the regression tests in contrib modules like pg_stat_statement in a less ugly manner. Discussion: <22432.1478968242@sss.pgh.pa.us>
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/pgxs.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/makefiles/pgxs.mk b/src/makefiles/pgxs.mk
index 2b4d684e8e7..c27004ecfbe 100644
--- a/src/makefiles/pgxs.mk
+++ b/src/makefiles/pgxs.mk
@@ -40,6 +40,8 @@
# which need to be built first
# REGRESS -- list of regression test cases (without suffix)
# REGRESS_OPTS -- additional switches to pass to pg_regress
+# NO_INSTALLCHECK -- don't define an installcheck target, useful e.g. if
+# tests require special configuration, or don't use pg_regress
# EXTRA_CLEAN -- extra files to remove in 'make clean'
# PG_CPPFLAGS -- will be added to CPPFLAGS
# PG_LIBS -- will be added to PROGRAM link line
@@ -268,8 +270,10 @@ ifndef PGXS
endif
# against installed postmaster
+ifndef NO_INSTALLCHECK
installcheck: submake $(REGRESS_PREP)
$(pg_regress_installcheck) $(REGRESS_OPTS) $(REGRESS)
+endif
ifdef PGXS
check: