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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/aeb8ea361a0a321a0e1cbc79a4cd3ec0b1191bf2
Modified Files
--------------
contrib/sepgsql/.gitignore | 4 +-
contrib/sepgsql/Makefile | 2 +
contrib/sepgsql/meson.build | 11 +-
contrib/sepgsql/t/001_sepgsql.pl | 246 +++++++++++++++++++++++++++++++++++++++
contrib/sepgsql/test_sepgsql | 12 +-
doc/src/sgml/regress.sgml | 11 ++
doc/src/sgml/sepgsql.sgml | 17 ++-
meson.build | 2 +
src/Makefile.global.in | 2 +
9 files changed, 294 insertions(+), 13 deletions(-)