From d33783f5db602d664925dbef62d91452df80a889 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sun, 26 May 2013 12:13:33 +0200 Subject: [PATCH] tests: remove some useless 'unset' of variables They are redundant, now that we no longer call "make -e". * t/javaflags.sh: Don't unset JAVAC. * t/lflags.sh: Don't unset LEX. * t/lflags2.sh: Likewise. Signed-off-by: Stefano Lattarini --- t/javaflags.sh | 4 ---- t/lflags.sh | 4 ---- t/lflags2.sh | 4 ---- 3 files changed, 12 deletions(-) diff --git a/t/javaflags.sh b/t/javaflags.sh index ec405d6..2f434b2 100644 --- a/t/javaflags.sh +++ b/t/javaflags.sh @@ -24,10 +24,6 @@ echo "$*" > javaflags.list END chmod a+x fake-javac -# Remove JAVAC from the environment, so that it won't interfere -# with 'make -e' below. -unset JAVAC - cat >> configure.ac <<'END' AC_PROG_CC # Simulate presence of the java compiler using our fake-javac script. diff --git a/t/lflags.sh b/t/lflags.sh index ce6ccc8..a7a5927 100644 --- a/t/lflags.sh +++ b/t/lflags.sh @@ -29,10 +29,6 @@ echo 'extern int dummy;' >> lex.yy.c END chmod a+x fake-lex -# Remove Lex from the environment, so that it won't interfere -# with 'make -e' below. -unset LEX - cat >> configure.ac <<'END' AC_SUBST([CC], [false]) # Simulate presence of Lex using our fake-lex script. diff --git a/t/lflags2.sh b/t/lflags2.sh index d21afad..bcc42c7 100644 --- a/t/lflags2.sh +++ b/t/lflags2.sh @@ -28,10 +28,6 @@ echo 'extern int dummy;' >> lex.yy.c END chmod a+x fake-lex -# Remove Lex from the environment, so that it won't interfere -# with 'make -e' below. -unset LEX - cat >> configure.ac <<'END' AC_SUBST([CXX], [false]) # Simulate presence of Lex using our fake-lex script. -- 2.7.4