Re: Add extension options to control TAP and isolation tests

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Add extension options to control TAP and isolation tests
Дата
Msg-id 20180910062229.GE19122@paquier.xyz
обсуждение исходный текст
Ответ на Add extension options to control TAP and isolation tests  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Add extension options to control TAP and isolation tests  (Adam Berlin <berlin.ab@gmail.com>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: executor relation handling
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Problem while setting the fpw with SIGHUP