index-killtuples test depends on the contrib modules btree_gin and
btree_gist, which would not be installed in a temporary installation
with an execution of the main isolation test suite like this one:
make -C src/test/isolation/ check
src/test/isolation/ should not depend on contrib/, and EXTRA_INSTALL has
no effect in this case as this test suite uses its own Makefile rules.
This commit moves index-killtuples into its new module, called "index",
whose name looks like the best fit there can be as it depends on more
than one index AM. btree_gin and btree_gist are now pulled in the
temporary installation with EXTRA_INSTALL. The test is renamed to
"killtuples", for simplicity.
Author: Nazir Bilal Yavuz <byavuz81@gmail.com>
Suggested-by: Andres Freund <andres@anarazel.de>
Suggested-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/aKJsWedftW7UX1WM@paquier.xyz
test: partial-index
test: two-ids
test: multiple-row-versions
test: partial-index
test: two-ids
test: multiple-row-versions
test: index-only-scan
test: index-only-bitmapscan
test: predicate-lock-hot-tuple
test: index-only-scan
test: index-only-bitmapscan
test: predicate-lock-hot-tuple
delay_execution \
dummy_index_am \
dummy_seclabel \
delay_execution \
dummy_index_am \
dummy_seclabel \
libpq_pipeline \
oauth_validator \
plsample \
libpq_pipeline \
oauth_validator \
plsample \
--- /dev/null
+# Generated subdirectories
+/log/
+/results/
+/output_iso/
+/tmp_check/
+/tmp_check_iso/
--- /dev/null
+# src/test/modules/index/Makefile
+
+EXTRA_INSTALL = contrib/btree_gin contrib/btree_gist
+
+ISOLATION = killtuples
+
+ifdef USE_PGXS
+PG_CONFIG = pg_config
+PGXS := $(shell $(PG_CONFIG) --pgxs)
+include $(PGXS)
+else
+subdir = src/test/modules/index
+top_builddir = ../../../..
+include $(top_builddir)/src/Makefile.global
+include $(top_srcdir)/contrib/contrib-global.mk
+endif
--- /dev/null
+# Copyright (c) 2025, PostgreSQL Global Development Group
+
+tests += {
+ 'name': 'index',
+ 'sd': meson.current_source_dir(),
+ 'bd': meson.current_build_dir(),
+ 'isolation': {
+ 'specs': [
+ 'killtuples',
+ ],
+ },
+}
subdir('dummy_index_am')
subdir('dummy_seclabel')
subdir('gin')
subdir('dummy_index_am')
subdir('dummy_seclabel')
subdir('gin')
subdir('injection_points')
subdir('ldap_password_func')
subdir('libpq_pipeline')
subdir('injection_points')
subdir('ldap_password_func')
subdir('libpq_pipeline')