]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
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 98e5792cb2c94cbb3b55fa23ce9ca654ac5acded..b0c6f16c5547f2c0944ea20d132a35869e3cbbaa 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 97de608513e207632bca060ef3b8840d5f038743..4c3e0487623dea101cc3c3e611aee97701e67bfd 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 df766b2b6adf855df0405c50e9307d71810660a8..f13c65627b2a220af8fac8b99b1df97634221d9b 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.