Convert sepgsql tests to TAP

Peter Eisentraut <peter@eisentraut.org>

Commit: aeb8ea361a0a321a0e1cbc79a4cd3ec0b1191bf2
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-01-24T11:39:47Z
Releases: 18.0
Convert sepgsql tests to TAP

Add a TAP test for sepgsql.  This automates the previously required
manual setup before the test.  The actual tests are still run by
pg_regress, as before, but now called from within the TAP Perl script.

The previous manual test script (test_sepgsql) is left in place, since
its purpose is (also) to test whether a running instance was properly
initialized for sepgsql.  But it has been changed to call pg_regress
directly and no longer require make.

Reviewed-by: Andreas Karlsson <andreas@proxel.se>
Discussion: https://www.postgresql.org/message-id/flat/651a5baf-5c45-4a5a-a202-0c8453a4ebf8@eisentraut.org

Files

PathChange+/−
contrib/sepgsql/.gitignore modified +2 −2
contrib/sepgsql/Makefile modified +2 −0
contrib/sepgsql/meson.build modified +10 −1
contrib/sepgsql/t/001_sepgsql.pl added +246 −0
contrib/sepgsql/test_sepgsql modified +6 −6
doc/src/sgml/regress.sgml modified +11 −0
doc/src/sgml/sepgsql.sgml modified +13 −4
meson.build modified +2 −0
src/Makefile.global.in modified +2 −0

Documentation touched

Discussion