]> granicus.if.org Git - postgresql/commitdiff
Add missing NO_INSTALLCHECK in commit_ts and test_rls_hooks
authorMichael Paquier <michael@paquier.xyz>
Thu, 29 Nov 2018 00:39:07 +0000 (09:39 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 29 Nov 2018 00:39:07 +0000 (09:39 +0900)
This bypasses installcheck if specified, which makes sense for those
modules as they require non-default configuration, something which
typical users don't have.  Those have been missing from the start, still
no back-patch is done.

This will be used by an upcoming patch for MSVC scripts adding support
for NO_INSTALLCHECK as installcheck is the default mode for contrib and
modules for performance reasons in the buildfarm.

Author: Michael Paquier
Reviewed-by: Andrew Dunstan
Discussion: https://postgr.es/m/20181126054302.GI1776@paquier.xyz

src/test/modules/commit_ts/Makefile
src/test/modules/test_rls_hooks/Makefile

index 6d4f3be358e7c6d61709b2ebf7f8533bb2ef79e1..6a9c3971fbc20a57ac665eb1bf0b70ffe8cdd9cb 100644 (file)
@@ -2,6 +2,9 @@
 
 REGRESS = commit_timestamp
 REGRESS_OPTS = --temp-config=$(top_srcdir)/src/test/modules/commit_ts/commit_ts.conf
+# Disabled because these tests require "track_commit_timestamp = on",
+# which typical installcheck users do not have (e.g. buildfarm clients).
+NO_INSTALLCHECK = 1
 
 ifdef USE_PGXS
 PG_CONFIG = pg_config
index 6b772c4db121f49be99a4f53b29481217c113674..284fdaf0958229d033b59fd3e0dff5bc98b0fd7d 100644 (file)
@@ -9,6 +9,9 @@ EXTENSION = test_rls_hooks
 
 REGRESS = test_rls_hooks
 REGRESS_OPTS = --temp-config=$(top_srcdir)/src/test/modules/test_rls_hooks/rls_hooks.conf
+# Disabled because these tests require "shared_preload_libraries=test_rls_hooks",
+# which typical installcheck users do not have (e.g. buildfarm clients).
+NO_INSTALLCHECK = 1
 
 ifdef USE_PGXS
 PG_CONFIG = pg_config