From 560702945f154bbaa595da3da88a9b6770b026d2 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Thu, 9 May 2013 19:50:38 +0200 Subject: [PATCH] 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 --- t/lex-multiple.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/lex-multiple.sh b/t/lex-multiple.sh index e1c71a1ab..575995964 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 -- 2.47.2