* 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 <[email protected]> + 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 <[email protected]> + 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
