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:38 -0400 |
commit | e491f2bbb53bf7eb678af4fd5ebc88f1b64d28f7 (patch) | |
tree | 6a3a32850ba68c0713319e646c4a5181e17c487e | |
parent | 15e9457bbb3e6ba2485f88252e2f522c069f26c5 (diff) | |
download | postgresql-e491f2bbb53bf7eb678af4fd5ebc88f1b64d28f7.tar.gz postgresql-e491f2bbb53bf7eb678af4fd5ebc88f1b64d28f7.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 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 |