From: Stefano Lattarini Date: Thu, 9 May 2013 17:50:38 +0000 (+0200) Subject: tests: avoid spurious failure with older flex (2.5.4) X-Git-Tag: v1.13b~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=560702945f154bbaa595da3da88a9b6770b026d2;p=platform%2Fupstream%2Fautomake.git tests: avoid spurious failure with older flex (2.5.4) That old version is unfortunately still relevant, being the one installed on NetBSD 5.1. * t/lex-multiple.sh: Use the '-o' option rather than the longer equivalent '--outfile'. The latter is not supported by older versions of flex (e.g., flex 2.5.4). Signed-off-by: Stefano Lattarini --- diff --git a/t/lex-multiple.sh b/t/lex-multiple.sh index e1c71a1..5759959 100755 --- a/t/lex-multiple.sh +++ b/t/lex-multiple.sh @@ -43,11 +43,11 @@ liblex_a_SOURCES = 0.l # We need the output to always be named 'lex.yy.c', in order for # ylwrap to pick it up. -liblex_foo_a_LFLAGS = -Pfoo --outfile=lex.yy.c +liblex_foo_a_LFLAGS = -Pfoo -olex.yy.c liblex_foo_a_SOURCES = a.l # Ditto. -liblex_bar_a_LFLAGS = -Pbar_ --outfile=lex.yy.c +liblex_bar_a_LFLAGS = -Pbar_ -olex.yy.c liblex_bar_a_SOURCES = b.l END