summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2021-09-29 09:26:50 +0200
committerDarren Tucker <dtucker@dtucker.net>2021-09-29 09:26:50 +0200
commitcfe5f7b0eb7621bfb0a756222de0431315c2ab8b (patch)
tree55c909b6b79e821f52ff5fb720d95c53f2e265df /Makefile.in
parentGet BUILDDIR from autoconf. (diff)
downloadopenssh-cfe5f7b0eb7621bfb0a756222de0431315c2ab8b.tar.xz
openssh-cfe5f7b0eb7621bfb0a756222de0431315c2ab8b.zip
Replace `pwd` with make variable in regress cmd.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index c04f25c96..a987bf5d4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -714,8 +714,8 @@ tests: file-tests t-exec interop-tests unit
unit: regress-unit-binaries
cd $(srcdir)/regress || exit $$?; \
$(MAKE) \
+ .CURDIR="$(abs_top_srcdir)/regress" \
.OBJDIR="$(BUILDDIR)/regress" \
- .CURDIR="`pwd`" \
OBJ="$(BUILDDIR)/regress" \
$@ && echo $@ tests passed
@@ -723,10 +723,10 @@ interop-tests t-exec file-tests: regress-prep regress-binaries $(TARGETS)
cd $(srcdir)/regress || exit $$?; \
EGREP='@EGREP@' \
$(MAKE) \
+ .CURDIR="$(abs_top_srcdir)/regress" \
.OBJDIR="$(BUILDDIR)/regress" \
- .CURDIR="`pwd`" \
BUILDDIR="$(BUILDDIR)" \
- OBJ="$(BUILDDIR)/regress/" \
+ OBJ="$(BUILDDIR)/regress" \
PATH="$(BUILDDIR):$${PATH}" \
TEST_ENV=MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \
TEST_MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \