summaryrefslogtreecommitdiff
path: root/src/test/modules
diff options
context:
space:
mode:
authorAndrew Dunstan2017-11-15 22:49:04 +0000
committerAndrew Dunstan2017-11-15 22:49:04 +0000
commit745948422c799c1b9f976ee30f21a7aac050e0f3 (patch)
tree42758b6209c8c92cda1abf9ad8846b373afd1347 /src/test/modules
parent9989f92aabdc2015c9dc64b9df4cdeceecf75e47 (diff)
Disable installcheck tests for test_session_hooks
The module requires a preloaded library and the defect can't be cured by a LOAD instruction in the test script. To achieve this we override the installcheck target in the module's Makefile, and exclude ithe module in vcregress.pl. Along the way, revert commit 9989f92aabd.
Diffstat (limited to 'src/test/modules')
-rw-r--r--src/test/modules/Makefile1
-rw-r--r--src/test/modules/test_session_hooks/Makefile4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/test/modules/Makefile b/src/test/modules/Makefile
index b7ed0af021f..7246552d386 100644
--- a/src/test/modules/Makefile
+++ b/src/test/modules/Makefile
@@ -15,6 +15,7 @@ SUBDIRS = \
test_pg_dump \
test_rbtree \
test_rls_hooks \
+ test_session_hooks \
test_shm_mq \
worker_spi
diff --git a/src/test/modules/test_session_hooks/Makefile b/src/test/modules/test_session_hooks/Makefile
index c5c386084e7..636ae61c0e1 100644
--- a/src/test/modules/test_session_hooks/Makefile
+++ b/src/test/modules/test_session_hooks/Makefile
@@ -19,3 +19,7 @@ top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
+
+# override installcheck - this module requires preloading the test module
+installcheck:
+ @echo Cannot run $@ for test_session_hooks. Run "'make check'" instead.