diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-02-19 18:37:40 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-02-19 18:37:40 +1100 |
commit | 3fd2d2291a695c96a54269deae079bacce6e3fb9 (patch) | |
tree | f43b9b12b6e0ee29bc312fda6acbb44c4c7ba9dd /Makefile.in | |
parent | f8338428588f3ecb5243c86336eccaa28809f97e (diff) | |
download | openssh-git-3fd2d2291a695c96a54269deae079bacce6e3fb9.tar.gz |
Add REGRESSTMP make var override.
Defaults to original location ($srcdir/regress) but allows overriding
if desired, eg a directory in /tmp.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 158a0e28..2d9220ba 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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"; \ @@ -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@" \ |