]> granicus.if.org Git - postgresql/commitdiff
Make prove_installcheck remove the old log directory, if any.
authorNoah Misch <noah@leadboat.com>
Mon, 12 Oct 2015 00:36:07 +0000 (20:36 -0400)
committerNoah Misch <noah@leadboat.com>
Mon, 12 Oct 2015 00:36:38 +0000 (20:36 -0400)
prove_check already has been doing this.  Back-patch to 9.4, like the
commit that introduced this logging.

src/Makefile.global.in

index eaa3ec4b22614ef2d4c6d7064d5da0a14d915d8a..e92d3c692323a6b6fc2e86345408bbd4e2114452 100644 (file)
@@ -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