summaryrefslogtreecommitdiff
path: root/t/yflags2.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/yflags2.sh')
-rw-r--r--t/yflags2.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/t/yflags2.sh b/t/yflags2.sh
index 12eb5d726..1987cace9 100644
--- a/t/yflags2.sh
+++ b/t/yflags2.sh
@@ -28,10 +28,6 @@ echo 'extern int dummy;' >> y.tab.c
END
chmod a+x fake-yacc
-# Remove Yacc from the environment, so that it won't interfere
-# with 'make -e' below.
-unset YACC
-
cat >> configure.ac <<'END'
AC_SUBST([CXX], [false])
# Simulate presence of Yacc using our fake-yacc script.
@@ -59,7 +55,7 @@ grep '\$(YFLAGS).*\$(AM_YFLAGS)' Makefile.in && exit 1
$AUTOCONF
./configure
-env YFLAGS=__user_flags__ $MAKE -e foo.cc bar-bar.c++
+run_make YFLAGS=__user_flags__ foo.cc bar-bar.c++
cat foo.cc
cat bar-bar.c++