Convert sepgsql tests to TAP
authorPeter Eisentraut
Fri, 24 Jan 2025 10:37:20 +0000 (11:37 +0100)
committerPeter Eisentraut
Fri, 24 Jan 2025 11:39:47 +0000 (12:39 +0100)
commitaeb8ea361a0a321a0e1cbc79a4cd3ec0b1191bf2
tree64d994d2c2bdae615ac2fbc1fc382758be25964f
parent02ed3c2bdcefab453b548bc9c7e0e8874a502790
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
Discussion: https://www.postgresql.org/message-id/flat/651a5baf-5c45-4a5a-a202-0c8453a4ebf8@eisentraut.org
contrib/sepgsql/.gitignore
contrib/sepgsql/Makefile
contrib/sepgsql/meson.build
contrib/sepgsql/t/001_sepgsql.pl [new file with mode: 0644]
contrib/sepgsql/test_sepgsql
doc/src/sgml/regress.sgml
doc/src/sgml/sepgsql.sgml
meson.build
src/Makefile.global.in