Re: Explicitly skip TAP tests under Meson if disabled

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-11-06T16:46:23Z
Lists: pgsql-hackers
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.




Commits

  1. Explicitly skip TAP tests under Meson if disabled