pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Respect TEMP_CONFIG when running contrib regression tests.
Date: Sat, 27 Feb 2016 10:06:23 -0500
Message-ID: <56D1BB6F.3040603@dunslane.net> (raw)
In-Reply-To: <CA+TgmoaQ44dvhwzR-mdghBywgJPCPE-Mzc0EoEQNDMXZ_Tc52Q@mail.gmail.com>
References: <E1aZCXp-0003oJ-10@gemulon.postgresql.org>
	<56D0F2AE.6000003@dunslane.net>
	<CA+Tgmob3ivsfPbYjys5hJaAffZemVG_cLOQbbHRfejRXWmZOfQ@mail.gmail.com>
	<20160227021704.qpesqyne3j4fhode@alap3.anarazel.de>
	<CA+TgmoadBzreT2QPMub=LOWHkemU6BFy3mcua=4d=iBu76npFg@mail.gmail.com>
	<56D1183E.2090207@dunslane.net>
	<CA+TgmoYC940O5Q7XjDFYGBKNE8EHEpXjehS_etBGnmDnvywW4w@mail.gmail.com>
	<56D1A6C6.1000801@dunslane.net>
	<CA+TgmoaQ44dvhwzR-mdghBywgJPCPE-Mzc0EoEQNDMXZ_Tc52Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>



On 02/27/2016 09:25 AM, Robert Haas wrote:
> On Sat, Feb 27, 2016 at 7:08 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
>> What I had in mind was something like the attached.
>>
>> In testing this seems to do the right thing, and the nice part is that it
>> will be picked up by the buildfarm in the one case that's relevant, namely
>> the ecpg tests.
>>
>> The only fly in the ointment is that there are a few places that set
>> --temp-config explicitly:
>>
>>     ./contrib/test_decoding/Makefile:        --temp-config
>>     $(top_srcdir)/contrib/test_decoding/logical.conf \
>>     ./contrib/test_decoding/Makefile:        --temp-config
>>     $(top_srcdir)/contrib/test_decoding/logical.conf \
>>     ./src/test/modules/commit_ts/Makefile:REGRESS_OPTS =
>>     --temp-config=$(top_srcdir)/src/test/modules/commit_ts/commit_ts.conf
>>     ./src/test/modules/test_rls_hooks/Makefile:REGRESS_OPTS =
>>
>> --temp-config=$(top_srcdir)/src/test/modules/test_rls_hooks/rls_hooks.conf
>>
>> Perhaps what we need to do is modify pg_regress.c slightly to allow more
>> than one --temp-config argument. But that could be done later.
> Well, I'm pretty interested in using --temp-config for parallelism
> testing; I want to be able to run the whole regression test suite with
> a given --temp-config.  I'm in agreement with this change but if it
> doesn't play well with that need, I suppose I'll be writing that
> pg_regress.c patch sooner rather than later.
>

"doesn't meet your need" is probably a better way of putting it. The 
facility's use has grown beyond what I originally envisaged, so I think 
we will need that patch.

Would you like me to apply what I have?

cheers

andrew


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (13+ messages)  latest in thread

Message-ID: <56D1BB6F.3040603@dunslane.net>
Permalink:  ../56D1BB6F.3040603@dunslane.net/
Also on:    postgresql.org/message-id/56D1BB6F.3040603@dunslane.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net, robertmhaas@gmail.com, andres@anarazel.de, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Respect TEMP_CONFIG when running contrib regression tests.
  In-Reply-To: <56D1BB6F.3040603@dunslane.net>
  References: <E1aZCXp-0003oJ-10@gemulon.postgresql.org> <56D0F2AE.6000003@dunslane.net> <CA+Tgmob3ivsfPbYjys5hJaAffZemVG_cLOQbbHRfejRXWmZOfQ@mail.gmail.com> <20160227021704.qpesqyne3j4fhode@alap3.anarazel.de> <CA+TgmoadBzreT2QPMub=LOWHkemU6BFy3mcua=4d=iBu76npFg@mail.gmail.com> <56D1183E.2090207@dunslane.net> <CA+TgmoYC940O5Q7XjDFYGBKNE8EHEpXjehS_etBGnmDnvywW4w@mail.gmail.com> <56D1A6C6.1000801@dunslane.net> <CA+TgmoaQ44dvhwzR-mdghBywgJPCPE-Mzc0EoEQNDMXZ_Tc52Q@mail.gmail.com> <56D1BB6F.3040603@dunslane.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox