automake-patches
[Top][All Lists]
Advanced

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

[FYI] {testsuite-work} lex tests: fix spurious failures with Solaris lex


From: Stefano Lattarini
Subject: [FYI] {testsuite-work} lex tests: fix spurious failures with Solaris lex
Date: Wed, 1 Jun 2011 18:51:08 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

* tests/lex-lib.test (foo.l): Avoid empty "rules section", which
can confuse Solaris lex.
* tests/lex-libobj.test (foo.l): Likewise.
---
 ChangeLog             |    7 +++++++
 tests/lex-lib.test    |    1 +
 tests/lex-libobj.test |    1 +
 3 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c29fdd4..f1a8690 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-06-01  Stefano Lattarini  <address@hidden>
 
+       lex tests: fix spurious failures with Solaris lex
+       * tests/lex-lib.test (foo.l): Avoid empty "rules section", which
+       can confuse Solaris lex.
+       * tests/lex-libobj.test (foo.l): Likewise.
+
+2011-06-01  Stefano Lattarini  <address@hidden>
+
        lex tests: do not force the use of flex unconditionally
        * tests/defs (lex): Act more similarly to what the `yacc'
        requirement does, i.e., only force the use of flex if the
diff --git a/tests/lex-lib.test b/tests/lex-lib.test
index e5fdc00..0cdc4b7 100755
--- a/tests/lex-lib.test
+++ b/tests/lex-lib.test
@@ -48,6 +48,7 @@ END
 
 cat > foo.l <<'END'
 %%
+"END" return EOF;
 .
 %%
 int main (void)
diff --git a/tests/lex-libobj.test b/tests/lex-libobj.test
index 449bd47..75831c4 100755
--- a/tests/lex-libobj.test
+++ b/tests/lex-libobj.test
@@ -47,6 +47,7 @@ END
 
 cat > foo.l <<'END'
 %%
+"END" return EOF;
 .
 %%
 int main (void)
-- 
1.7.2.3




reply via email to

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