pgsql: Explicitly skip TAP tests under Meson if disabled

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Explicitly skip TAP tests under Meson if disabled
Date: 2023-11-16 07:18:48
Message-ID: E1r3WeF-005gog-Qa@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Explicitly skip TAP tests under Meson if disabled

If the tap_tests option is disabled under Meson, the TAP tests are
currently not registered at all. But this makes it harder to see what
is going on, why suddently there are fewer tests than before.

Instead, run testwrap with an option that marks the test as skipped.
That way, the total list and count of tests is constant whether the
option is enabled or not.

Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://www.postgresql.org/message-id/ad5ec96d-69ec-317b-a137-367ea5019b61@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bc15a126bbab99aa12fe7138131c12d3674e2c94

Modified Files
--------------
meson.build | 5 +++--
src/tools/testwrap | 5 +++++
2 files changed, 8 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-11-16 15:05:29 pgsql: Ensure we preprocess expressions before checking their volatilit
Previous Message Michael Paquier 2023-11-16 06:48:04 pgsql: Add target "slru" to pg_stat_reset_shared()