pgsql: Explicitly skip TAP tests under Meson if disabled - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Explicitly skip TAP tests under Meson if disabled
Date
Msg-id E1r3WeF-005gog-Qa@gemulon.postgresql.org
Whole thread Raw
List 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@anarazel.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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add target "slru" to pg_stat_reset_shared()
Next
From: Tom Lane
Date:
Subject: pgsql: Ensure we preprocess expressions before checking their volatilit