automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {micro} tests: remove some useless 'unset' of variables


From: Stefano Lattarini
Subject: [FYI] {micro} tests: remove some useless 'unset' of variables
Date: Sun, 26 May 2013 12:37:16 +0200

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 <address@hidden>
---
 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.
-- 
1.8.3.rc3.8.g5e49f30




reply via email to

[Prev in Thread] Current Thread [Next in Thread]