From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Provide a TLS init hook
Date: Fri, 27 Mar 2020 11:09:23 -0400
Message-ID: <29894.1585321763@sss.pgh.pa.us> (raw)
In-Reply-To: <dbb495e5-5bfc-1a31-1909-08662a044b0a@2ndQuadrant.com>
References: <E1jHDdK-0002YP-15@gemulon.postgresql.org>
<15993.1585173676@sss.pgh.pa.us>
<16587.1585174641@sss.pgh.pa.us>
<19603.1585179895@sss.pgh.pa.us>
<a2a8b035-f9bd-eeb4-46ca-72e857040b54@2ndQuadrant.com>
<718.1585186096@sss.pgh.pa.us>
<35de6665-55d7-d888-95e5-6c0094ab66b4@2ndQuadrant.com>
<10659.1585230611@sss.pgh.pa.us>
<6965f28d-8ff4-a371-dacf-ce21349d52c5@2ndQuadrant.com>
<14349.1585236673@sss.pgh.pa.us>
<6919ea18-f7e5-fd00-48b0-20eae2c9dc7d@2ndQuadrant.com>
<20683.1585254666@sss.pgh.pa.us>
<dbb495e5-5bfc-1a31-1909-08662a044b0a@2ndQuadrant.com>
Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
> [discussion from -committers]
> On 3/26/20 4:31 PM, Tom Lane wrote:
>> So? We clearly document that for the TAP tests, "make installcheck"
>> means "use the installed executables, but run a new instance" [1].
> I think we were probably a bit shortsighted about that. But what's done
> is done. I wonder if there is a simple way we could turn it off for the
> buildfarm?
I think it was entirely intentional. I use "installcheck" all the time
to save the cost of repeatedly building an install tree. If anything,
it's more important to be able to do that when running a specific
subdirectory's tests than when testing the whole tree, because the
overhead would be worse in proportion. So sprinkling NO_INSTALLCHECK
liberally would make me sad. (In fact, I wonder if we should treat
that as only disabling traditional-framework tests not TAP tests.
The problem of tests requiring atypical configurations doesn't apply
to TAP tests.)
> Right now the explicit TAP test code in the buildfarm knows how to collect all the relevant output. The installcheck code doesn't know about that for TAP tests.
It seems like what the buildfarm would like is a way to invoke TAP tests
and traditional-framework tests separately, so that it could apply special
tooling to the former. I'd have no objection to making that possible.
Alternatively, maybe you could just dig through the tree after-the-fact
looking for tmp_check subdirectories, and capturing their contents?
A separate issue is whether or not it's worth running all the
src/test/modules/ tests over again for multiple locales. ISTM the
answer is mostly "no", but I grant that some of them might be locale
sensitive. Maybe we could mark the ones that are in their Makefiles?
Get the buildfarm to look for "LOCALE_SENSITIVE = 1" or the like.
Right now, the modules/ tests don't run long enough for this to be super
important, but we might be more worried about their cost in future.
regards, tom lane
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: tgl@sss.pgh.pa.us, andrew.dunstan@2ndquadrant.com, pgsql-hackers@postgresql.org
Subject: Re: pgsql: Provide a TLS init hook
In-Reply-To: <29894.1585321763@sss.pgh.pa.us>
References: <E1jHDdK-0002YP-15@gemulon.postgresql.org> <15993.1585173676@sss.pgh.pa.us> <16587.1585174641@sss.pgh.pa.us> <19603.1585179895@sss.pgh.pa.us> <a2a8b035-f9bd-eeb4-46ca-72e857040b54@2ndQuadrant.com> <718.1585186096@sss.pgh.pa.us> <35de6665-55d7-d888-95e5-6c0094ab66b4@2ndQuadrant.com> <10659.1585230611@sss.pgh.pa.us> <6965f28d-8ff4-a371-dacf-ce21349d52c5@2ndQuadrant.com> <14349.1585236673@sss.pgh.pa.us> <6919ea18-f7e5-fd00-48b0-20eae2c9dc7d@2ndQuadrant.com> <20683.1585254666@sss.pgh.pa.us> <dbb495e5-5bfc-1a31-1909-08662a044b0a@2ndQuadrant.com> <29894.1585321763@sss.pgh.pa.us>
* 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