]> granicus.if.org Git - postgresql/commitdiff
Clean up after TAP tests in oid2name and vacuumlo.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Sep 2018 14:52:01 +0000 (10:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Sep 2018 14:52:01 +0000 (10:52 -0400)
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.

contrib/oid2name/Makefile
contrib/vacuumlo/Makefile

index 77b72880f5b7c89de4af0632dbd31e27c00704a9..908e078714b9b21b7c1517a171d45b632f450575 100644 (file)
@@ -9,6 +9,8 @@ OBJS    = oid2name.o $(WIN32RES)
 PG_CPPFLAGS = -I$(libpq_srcdir)
 PG_LIBS_INTERNAL = $(libpq_pgport)
 
+EXTRA_CLEAN = tmp_check
+
 ifdef USE_PGXS
 PG_CONFIG = pg_config
 PGXS := $(shell $(PG_CONFIG) --pgxs)
index 06c5f43f1b646249893cbadb4344a3a66fea18d4..5de506151e42ebe3e32dbb4cb23bebd186262385 100644 (file)
@@ -9,6 +9,8 @@ OBJS    = vacuumlo.o $(WIN32RES)
 PG_CPPFLAGS = -I$(libpq_srcdir)
 PG_LIBS_INTERNAL = $(libpq_pgport)
 
+EXTRA_CLEAN = tmp_check
+
 ifdef USE_PGXS
 PG_CONFIG = pg_config
 PGXS := $(shell $(PG_CONFIG) --pgxs)