diff options
author | Noah Misch <noah@leadboat.com> | 2015-10-11 20:36:07 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2015-10-11 20:36:23 -0400 |
commit | 2539b9b0831c5642fd21284ce50003f08a313037 (patch) | |
tree | 8b12518d0b6113412c0db421942c5b1d0131d5a4 | |
parent | a26609e470601421b44424d6cc2683c4acabd086 (diff) | |
download | postgresql-2539b9b0831c5642fd21284ce50003f08a313037.tar.gz postgresql-2539b9b0831c5642fd21284ce50003f08a313037.zip |
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.
-rw-r--r-- | src/Makefile.global.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 13755148b55..3a0f0b9a27f 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -351,6 +351,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 |