pgsql: Convert sepgsql tests to TAP

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Convert sepgsql tests to TAP
Date: 2025-01-24 11:47:03
Message-ID: E1tbI9P-003Gh1-6t@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)proxel(dot)se>
Discussion: https://www.postgresql.org/message-id/flat/651a5baf-5c45-4a5a-a202-0c8453a4ebf8(at)eisentraut(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Álvaro Herrera 2025-01-24 12:18:05 pgsql: Fix instability in recently added regression tests
Previous Message Amul Sul 2025-01-24 10:57:41 Re: pgsql: Allow NOT VALID foreign key constraints on partitioned tables