Skip to content

Commit

Permalink
Add REGRESSTMP make var override.
Browse files Browse the repository at this point in the history
Defaults to original location ($srcdir/regress) but allows overriding
if desired, eg a directory in /tmp.
  • Loading branch information
daztucker committed Feb 19, 2018
1 parent f833842 commit 3fd2d22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.in
Expand Up @@ -567,6 +567,8 @@ regress-binaries: regress/modpipe$(EXEEXT) \
regress/unittests/utf8/test_utf8$(EXEEXT) \
regress/misc/kexfuzz/kexfuzz$(EXEEXT)

REGRESSTMP := "$(BUILDDIR)/regress"

tests interop-tests t-exec unit: regress-prep regress-binaries $(TARGETS)
BUILDDIR=`pwd`; \
TEST_SSH_SCP="$${BUILDDIR}/scp"; \
Expand All @@ -590,7 +592,7 @@ tests interop-tests t-exec unit: regress-prep regress-binaries $(TARGETS)
.OBJDIR="$${BUILDDIR}/regress" \
.CURDIR="`pwd`" \
BUILDDIR="$${BUILDDIR}" \
OBJ="$${BUILDDIR}/regress/" \
OBJ="$(REGRESSTMP)" \
PATH="$${BUILDDIR}:$${PATH}" \
TEST_ENV=MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \
TEST_MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \
Expand Down

0 comments on commit 3fd2d22

Please sign in to comment.