Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxFgB-0002YJ-00 for pgsql-committers@arkaria.postgresql.org; Tue, 04 Sep 2018 18:03:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fxFg7-0003K5-9z for pgsql-committers@arkaria.postgresql.org; Tue, 04 Sep 2018 18:03:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxFg7-0003Jy-53 for pgsql-committers@lists.postgresql.org; Tue, 04 Sep 2018 18:03:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxFg2-0003YU-Su for pgsql-committers@lists.postgresql.org; Tue, 04 Sep 2018 18:03:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w84HfrmO023386; Tue, 4 Sep 2018 13:41:53 -0400 From: Tom Lane To: Michael Paquier cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Clean up after TAP tests in oid2name and vacuumlo. In-reply-to: <20180904172957.GC20696@paquier.xyz> References: <20180904172957.GC20696@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Tue, 04 Sep 2018 10:29:57 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23384.1536082913.1@sss.pgh.pa.us> Date: Tue, 04 Sep 2018 13:41:53 -0400 Message-ID: <23385.1536082913@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier 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