Do not run pg_tde tests in make when in global TDE mode

The purpose of the global TDE mode is to run PostgreSQL's normal test
suite but with our extension so running the pg_tde test suite when in
that mode makes no sense.

Meson supports disabling test suites with --no-suite so we only need to
do this for the Makefile.
This commit is contained in:
Andreas Karlsson 2025-04-25 23:48:09 +02:00 committed by Andreas Karlsson
parent b7dfa6897f
commit e4c1cc012b

View File

@ -5,6 +5,8 @@ MODULE_big = pg_tde
EXTENSION = pg_tde
DATA = pg_tde--1.0-rc.sql
# Since meson supports skipping test suites this is a make only feature
ifndef TDE_MODE
REGRESS_OPTS = --temp-config $(top_srcdir)/contrib/pg_tde/pg_tde.conf
# toast_decrypt needs to be the first test when running with pg_tde
# preinstalled and default_principal_key needs to run after key_provider.
@ -25,6 +27,7 @@ vault_v2_test \
version \
default_principal_key
TAP_TESTS = 1
endif
OBJS = src/encryption/enc_tde.o \
src/encryption/enc_aes.o \