pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Clean up after TAP tests in oid2name and vacuumlo.
Date: Tue, 04 Sep 2018 13:41:53 -0400
Message-ID: <23385.1536082913@sss.pgh.pa.us> (raw)
In-Reply-To: <20180904172957.GC20696@paquier.xyz>
References: <E1fxCgZ-0002aC-4C@gemulon.postgresql.org>
	<20180904172957.GC20696@paquier.xyz>

Michael Paquier <michael@paquier.xyz> writes:
> On Tue, Sep 04, 2018 at 02:52:07PM +0000, Tom Lane wrote:
>> Oversights in commits 1aaf532de and bfea331a5.  Unlike the case for
>> traditional-style REGRESS tests, pgxs.mk doesn't have any builtin support
>> for TAP tests, so it doesn't realize it should remove tmp_check/.
>> Maybe we should build some actual pgxs infrastructure for TAP tests ...
>> but for the moment, just remove explicitly.

> Thanks for fixing this.  I think that there is an argument for just
> moving the cleanup of $(pg_regress_clean_files) in pgxs.mk out of the
> REGRESS portion instead?  I see little need for new infrastructure
> here.

It's really accidental that $(pg_regress_clean_files) happens to be a
superset of what the TAP tests need to have cleaned; we shouldn't build
that assumption in further.

If we're gonna do anything here, I think it'd be better to invent some new
symbol like HAVE_TAP_TESTS for calling Makefiles to define, then move all
the support into pgxs.mk, including the prove_[install]check rules.

			regards, tom lane




view thread (12+ messages)  latest in thread

Message-ID: <23385.1536082913@sss.pgh.pa.us>
Permalink:  ../23385.1536082913@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23385.1536082913@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, michael@paquier.xyz
  Subject: Re: pgsql: Clean up after TAP tests in oid2name and vacuumlo.
  In-Reply-To: <23385.1536082913@sss.pgh.pa.us>
  References: <E1fxCgZ-0002aC-4C@gemulon.postgresql.org> <20180904172957.GC20696@paquier.xyz> <23385.1536082913@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