Re: [COMMITTERS] pgsql: Respect TEMP_CONFIG when running contrib regression tests.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Andres Freund <andres(at)anarazel(dot)de>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Respect TEMP_CONFIG when running contrib regression tests.
Date: 2016-02-27 14:25:02
Message-ID: CA+TgmoaQ44dvhwzR-mdghBywgJPCPE-Mzc0EoEQNDMXZ_Tc52Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Sat, Feb 27, 2016 at 7:08 PM, Andrew Dunstan <andrew(at)dunslane(dot)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.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2016-02-27 15:06:23 Re: [COMMITTERS] pgsql: Respect TEMP_CONFIG when running contrib regression tests.
Previous Message Andrew Dunstan 2016-02-27 13:38:14 Re: [COMMITTERS] pgsql: Respect TEMP_CONFIG when running contrib regression tests.

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-02-27 14:43:12 Re: PostgreSQL extension API? Documentation?
Previous Message Álvaro Hernández Tortosa 2016-02-27 14:10:55 Re: PostgreSQL extension API? Documentation?