Skip to content

Commit 872e3d1

Browse files
committed
Mark unsafe_tests module as not runnable with installcheck
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
1 parent a4f23f9 commit 872e3d1

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/test/modules/unsafe_tests/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
REGRESS = rolenames alter_system_table guc_privs
44

5+
# the whole point of these tests is to not run installcheck
6+
NO_INSTALLCHECK = 1
7+
58
ifdef USE_PGXS
69
PG_CONFIG = pg_config
710
PGXS := $(shell $(PG_CONFIG) --pgxs)

src/test/modules/unsafe_tests/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
This directory doesn't actually contain any extension module.
22

3-
What it is is a home for regression tests that we don't want to run
3+
Instead it is a home for regression tests that we don't want to run
44
during "make installcheck" because they could have side-effects that
55
seem undesirable for a production installation.
66

src/test/modules/unsafe_tests/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ tests += {
1010
'alter_system_table',
1111
'guc_privs',
1212
],
13+
'runningcheck': false,
1314
},
1415
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy