From: Tom Lane Date: Tue, 4 Sep 2018 14:52:01 +0000 (-0400) Subject: Clean up after TAP tests in oid2name and vacuumlo. X-Git-Tag: REL_12_BETA1~1616 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f30c6f523f9caa73c9ba6ebd82c8d29fe45866a3;p=postgresql Clean up after TAP tests in oid2name and vacuumlo. 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. --- diff --git a/contrib/oid2name/Makefile b/contrib/oid2name/Makefile index 77b72880f5..908e078714 100644 --- a/contrib/oid2name/Makefile +++ b/contrib/oid2name/Makefile @@ -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) diff --git a/contrib/vacuumlo/Makefile b/contrib/vacuumlo/Makefile index 06c5f43f1b..5de506151e 100644 --- a/contrib/vacuumlo/Makefile +++ b/contrib/vacuumlo/Makefile @@ -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)