tests: fix spurious failures in lflags*.test
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 29 Jan 2011 17:35:45 +0000 (18:35 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 29 Jan 2011 17:35:45 +0000 (18:35 +0100)
* tests/lflags.test: Remove 'LEX' from the environment, so
that it won't be erroneously picked up by `make -e'.
* tests/lflags2.test: Likewise.

ChangeLog
tests/lflags.test
tests/lflags2.test

index 98e5792..b0c6f16 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-29  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: fix spurious failures in lflags*.test
+       * tests/lflags.test: Remove 'LEX' from the environment, so
+       that it won't be erroneously picked up by `make -e'.
+       * tests/lflags2.test: Likewise.
+
 2010-06-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Fix minor testsuite issues, update docs, for Yacc/Lex changes.
index 97de608..4c3e048 100755 (executable)
@@ -30,6 +30,10 @@ 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.in <<'END'
 AC_PROG_CC
 # Simulate presence of Lex using our fake-lex script.
index df766b2..f13c656 100755 (executable)
@@ -31,6 +31,10 @@ 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.in <<'END'
 AC_PROG_CXX
 # Simulate presence of Lex using our fake-lex script.