]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Move isolation test index-killtuples to src/test/modules/index/
authorMichael Paquier <michael@paquier.xyz>
Mon, 24 Nov 2025 10:33:51 +0000 (19:33 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 24 Nov 2025 10:33:51 +0000 (19:33 +0900)
commite429c3cecb4ac55d997acea0f76c5f06d6cb0ab3
tree081a8d1036c7c3ea5f76767ba7aa8a6b33ab5dc7
parentd4c0f91f7d57066b9d62c0eccb2a913d40c14066
Move isolation test index-killtuples to src/test/modules/index/

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
src/test/isolation/isolation_schedule
src/test/modules/Makefile
src/test/modules/index/.gitignore [new file with mode: 0644]
src/test/modules/index/Makefile [new file with mode: 0644]
src/test/modules/index/expected/killtuples.out [moved from src/test/isolation/expected/index-killtuples.out with 100% similarity]
src/test/modules/index/meson.build [new file with mode: 0644]
src/test/modules/index/specs/killtuples.spec [moved from src/test/isolation/specs/index-killtuples.spec with 100% similarity]
src/test/modules/meson.build