summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2021-09-29 17:26:50 +1000
committerDarren Tucker <dtucker@dtucker.net>2021-09-29 17:26:50 +1000
commitcfe5f7b0eb7621bfb0a756222de0431315c2ab8b (patch)
tree55c909b6b79e821f52ff5fb720d95c53f2e265df /Makefile.in
parent899be59da5fbc3372444bd0fbe74af48313bed33 (diff)
downloadopenssh-git-cfe5f7b0eb7621bfb0a756222de0431315c2ab8b.tar.gz
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 c04f25c9..a987bf5d 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@" \