From: Noah Misch Date: Mon, 12 Oct 2015 00:36:07 +0000 (-0400) Subject: Make prove_installcheck remove the old log directory, if any. X-Git-Tag: REL9_4_6~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e491f2bbb53bf7eb678af4fd5ebc88f1b64d28f7;p=postgresql Make prove_installcheck remove the old log directory, if any. prove_check already has been doing this. Back-patch to 9.4, like the commit that introduced this logging. --- diff --git a/src/Makefile.global.in b/src/Makefile.global.in index eaa3ec4b22..e92d3c6923 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -333,6 +333,7 @@ endef ifeq ($(enable_tap_tests),yes) define prove_installcheck +rm -rf $(CURDIR)/tmp_check/log cd $(srcdir) && TESTDIR='$(CURDIR)' PATH="$(bindir):$$PATH" PGPORT='6$(DEF_PGPORT)' top_builddir='$(CURDIR)/$(top_builddir)' $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) t/*.pl endef