Replace `pwd` with make variable in regress cmd.

This commit is contained in:
Darren Tucker 2021-09-29 17:26:50 +10:00
parent 899be59da5
commit cfe5f7b0eb
1 changed files with 3 additions and 3 deletions

View File

@ -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@" \