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:07 -0400 |
commit | 03a22f8b1d68754f3ba1fcad977ca44471d21ec1 (patch) | |
tree | 55207512d3f3652ab358a8fea97498d51d112f89 /src | |
parent | 0e57b4d8bd9674adaf5747421b3255b85e385534 (diff) | |
download | postgresql-03a22f8b1d68754f3ba1fcad977ca44471d21ec1.tar.gz postgresql-03a22f8b1d68754f3ba1fcad977ca44471d21ec1.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.
Diffstat (limited to 'src')
-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 74ffcbf2f14..51f479713c3 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)' PG_REGRESS='$(CURDIR)/$(top_builddir)/src/test/regress/pg_regress' $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) t/*.pl endef |