postgres.git / summary / log / commit / refs
commit e491f2bbb53bf7eb678af4fd5ebc88f1b64d28f7
Author: Noah Misch <noah@leadboat.com>
Date: Mon Oct 12 00:36:07 2015 +0000
First released in: 9.6.0, 9.4.6, 9.5.0
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.
src/Makefile.global.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index eaa3ec4b226..e92d3c69232 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
[parent: 15e9457bbb3e]