Re: Explicitly skip TAP tests under Meson if disabled

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-11-06T22:03:08Z
Lists: pgsql-hackers
Hi,

On 2023-11-06 17:46:23 +0100, Peter Eisentraut wrote:
> On 04.11.23 01:51, Andres Freund wrote:
> > I'd just use a single test() invocation here, and add an argument to testwrap
> > indicating that it should print out the skipped message. That way we a) don't
> > need two test() invocations, b) could still see the test name etc in the test
> > invocation.
> 
> Is testwrap only meant to be used with the tap protocol mode of meson's
> test()?  Otherwise, this skip option would have produce different output for
> different protocols.

Since Daniel added tap support to pg_regress it's only used with tap. If we
add something else, we can add a format parameter?

Greetings,

Andres Freund



Commits

  1. Explicitly skip TAP tests under Meson if disabled