Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Mark unsafe_tests module as not runnable with installcheck
authorAndrew Dunstan <andrew@dunslane.net>
Sun, 12 Mar 2023 13:00:32 +0000 (09:00 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sun, 12 Mar 2023 13:04:26 +0000 (09:04 -0400)
This was an omission in the original creation of the module.

Also slightly adjust some wording to avoid a double "is".

Backpatch the non-meson piece of this to release 12, where the module
was introduced.

Discussion: https://postgr.es/m/be869e1c-8e3f-4cde-8609-212c899cccf9@dunslane.net

src/test/modules/unsafe_tests/Makefile
src/test/modules/unsafe_tests/README

index 3ecf5fcfc5bb87a8aadfe80c9c6589c926281d46..1d989007bd5fe12a488b517c4a5d957d8e1222c3 100644 (file)
@@ -2,6 +2,9 @@
 
 REGRESS = rolenames alter_system_table
 
+# the whole point of these tests is to not run installcheck
+NO_INSTALLCHECK = 1
+
 ifdef USE_PGXS
 PG_CONFIG = pg_config
 PGXS := $(shell $(PG_CONFIG) --pgxs)
index a7e5b2a04f508e9c915167960e864be54e4f2f66..d9dbd038b9573960d6aaaafe32392d07a1e90c53 100644 (file)
@@ -1,6 +1,6 @@
 This directory doesn't actually contain any extension module.
 
-What it is is a home for regression tests that we don't want to run
+Instead it is a home for regression tests that we don't want to run
 during "make installcheck" because they could have side-effects that
 seem undesirable for a production installation.