From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Convert sepgsql tests to TAP
Date: Fri, 24 Jan 2025 11:47:03 +0000
Message-ID: <E1tbI9P-003Gh1-6t@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Convert sepgsql tests to TAP
In-Reply-To: <E1tbI9P-003Gh1-6t@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox