Re: Add extension options to control TAP and isolation tests - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Add extension options to control TAP and isolation tests
Date
Msg-id 20180910062229.GE19122@paquier.xyz
Whole thread Raw
In response to Add extension options to control TAP and isolation tests  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Add extension options to control TAP and isolation tests
List pgsql-hackers
On Wed, Sep 05, 2018 at 06:48:49PM -0700, Michael Paquier wrote:
> On a recent thread of pgsql-committers has been discussed the fact that
> we lacked a bit of infrastructure to allow extensions to control
> isolation and TAP tests:
> https://www.postgresql.org/message-id/20180905174527.GA2726@paquier.xyz
>
> Attached is a patch which is the result of the previous thread, where a
> couple of variables are added for extension authors:
> - ISOLATION, similar to REGRESS for pg_regress, which lists isolation
> tests.
> - ISOLATION_OPTS, which can be used to pass an option set to
> pg_isolation_regress.
> - TAP_TESTS, a switch to enable running TAP tests.

Tom, Alvaro, any thoughts on the proposed patch?  Please note that one
thing which is missing, and that I left on purpose so as the buildfarm
client does not need any extra tweaks, is support for those options in
src/tools/msvc.  It is already possible to run easily any TAP test suite
using vcregress taptest $dir, and test_decoding has some special
handling in the buildfarm code to run isolation tests.  It seems to me
that the amount of cleanup done by the initial patch in all the
Makefiles justifies its existence, and I could always follow-up with a
second patch for MSVC if needed.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: executor relation handling
Next
From: Amit Kapila
Date:
Subject: Re: Problem while setting the fpw with SIGHUP