Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aZgTN-0005Hy-5S for pgsql-hackers@arkaria.postgresql.org; Sat, 27 Feb 2016 15:07:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aZgTM-0007NK-K7 for pgsql-hackers@arkaria.postgresql.org; Sat, 27 Feb 2016 15:07:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aZgS1-0005ta-2M for pgsql-hackers@postgresql.org; Sat, 27 Feb 2016 15:06:33 +0000 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aZgRy-00017M-Fz for pgsql-hackers@postgresql.org; Sat, 27 Feb 2016 15:06:31 +0000 Received: from mfilter28-d.gandi.net (mfilter28-d.gandi.net [217.70.178.159]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 127E9FB882; Sat, 27 Feb 2016 16:06:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter28-d.gandi.net Received: from relay6-d.mail.gandi.net ([IPv6:::ffff:217.70.183.198]) by mfilter28-d.gandi.net (mfilter28-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id TSBWAL_CQeEC; Sat, 27 Feb 2016 16:06:25 +0100 (CET) X-Originating-IP: 98.122.164.227 Received: from [192.168.10.146] (unknown [98.122.164.227]) (Authenticated sender: adsend@dunslane.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id D2A54FB8A7; Sat, 27 Feb 2016 16:06:24 +0100 (CET) Subject: Re: [COMMITTERS] pgsql: Respect TEMP_CONFIG when running contrib regression tests. To: Robert Haas References: <56D0F2AE.6000003@dunslane.net> <20160227021704.qpesqyne3j4fhode@alap3.anarazel.de> <56D1183E.2090207@dunslane.net> <56D1A6C6.1000801@dunslane.net> Cc: Andres Freund , "pgsql-hackers@postgresql.org" From: Andrew Dunstan Message-ID: <56D1BB6F.3040603@dunslane.net> Date: Sat, 27 Feb 2016 10:06:23 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 02/27/2016 09:25 AM, Robert Haas wrote: > On Sat, Feb 27, 2016 at 7:08 PM, Andrew Dunstan 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