Convert sepgsql tests to TAP
Peter Eisentraut <peter@eisentraut.org>
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
| Path | Change | +/− |
|---|---|---|
| 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
- Convert sepgsql tests to TAP 36 messages · 2024-05-13 → 2025-02-04