Re: Handling of REGRESS_OPTS in MSVC for regression tests

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Handling of REGRESS_OPTS in MSVC for regression tests
Date: 2018-11-27 22:59:34
Message-ID: 7d971ab0-d85a-3df5-9044-2010d7c470fb@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 11/27/18 4:10 PM, Michael Paquier wrote:
> On Tue, Nov 27, 2018 at 10:27:17AM +0900, Michael Paquier wrote:
>> Okay, let's do so by supporting correctly NO_INSTALLCHECK. My other
>> refactoring work can also live with that. Returning an empty list via
>> fetchTests() and bypass a run if nothing is present looks fine to me.
>> One extra thing is that modules/commit_ts and modules/test_rls_hooks are
>> missing NO_INSTALLCHECK, so we would need to add that part to be
>> completely correct. I would also be inclined to back-patch both parts,
>> however for my stuff I could live with this patch only on HEAD, and
>> anybody willing to use installcheck on commit_ts and test_rls_hooks may
>> be surprised to not be able to do that anymore after the minor release.
>> It still looks incorrect to me though to be able to run installcheck on
>> those modules though...
>>
>> Attached is a proposal of patch, which works as I would expect with
>> modulescheck and contribcheck. How does that look?
> If possible, I would like to move on with this stuff. To keep things
> green in the buildfarm all the time, I would like to do that with two
> independent steps:
> 1) Add NO_INSTALLCHECK to modules/commit_ts and modules/test_rls_hook.
> 2) Add support for NO_INSTALLCHECK in the MSVC scripts.
>
> Are there any objections? I could do a back-patch as well to keep
> things consistent across branches if there are voices in favor of that,
> but that's not necessary for the upcoming Makefile cleanup with the new
> set of PGXS options.

I think you should just proceed with the changes above. I just had a
quick look at the patch you posted before, and it looks sane enough.

I don't see a need to backpatch.

cheers

andrew

--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-11-27 23:01:21 Re: More issues with pg_verify_checksums and checksum verification in base backups
Previous Message Stephen Frost 2018-11-27 22:45:41 Re: More issues with pg_verify_checksums and checksum verification in base backups