From: Darren Tucker Date: Mon, 19 Feb 2018 07:37:40 +0000 (+1100) Subject: Add REGRESSTMP make var override. X-Git-Tag: V_7_7_P1~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fd2d229;p=thirdparty%2Fopenssh-portable.git Add REGRESSTMP make var override. Defaults to original location ($srcdir/regress) but allows overriding if desired, eg a directory in /tmp. --- diff --git a/Makefile.in b/Makefile.in index 158a0e284..2d9220ba6 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@" \