From: Stefano Lattarini Date: Sun, 12 Feb 2012 16:02:33 +0000 (+0100) Subject: tests: avoid spurious failure with non-bison yacc X-Git-Tag: v1.11b~118^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0906b7e17bc34b1183d273ca0571c10d5619c08;p=thirdparty%2Fautomake.git tests: avoid spurious failure with non-bison yacc Issue revealed by a failure on NetBSD 5.1. * tests/suffix10.tap (Makefile.am): Adjust the rule generating the '.y' files so that such files won't use bison-only features. --- diff --git a/tests/suffix10.tap b/tests/suffix10.tap index 2d66f3bdc..1b812cbf3 100755 --- a/tests/suffix10.tap +++ b/tests/suffix10.tap @@ -42,7 +42,7 @@ libfoo_la_SOURCES = foo.x_ && echo 'void yyerror (char *s) {}' \ && echo '%}' \ && echo '%%' \ - && echo 'WORD: "foo";' \ + && echo 'foobar : 'f' 'o' 'o' 'b' 'a' 'r' {};' \ && echo '%%' \ ## Account for VPATH issues on weaker make implementations. && cat `test -f '$<' || echo $(srcdir)/`$<; \