[PATCH] {yacc-work} tests: cover yacc target-specific flags, and `-v' flag handling

2011-01-21 Thread Stefano Lattarini
A small testsuite patch which slightly increases coverage of Automake Yacc support. OK for the temporary branch yacc-work (which at this point could as well be made public maybe), to be merged into master? I will push in 72 hours if there are no objections. Regards, Stefano -*-*-*- tests:

[PATCH] {yacc-work} tests: more coverage on yacc/lex silent-rules, plus minor cleanups

2011-01-21 Thread Stefano Lattarini
Hello automakers. The `silent-yacc*.test' and `silent-lex*.test' tests were testing non-generic rules for C sources only, not for Lex/Yacc sources. Also, the output emitted by automake-generated rules when updating a yacc-generated header wasn't being tested anywhere. The attached patch should

Re: [PATCH] {yacc-work} tests: cover yacc target-specific flags, and `-v' flag handling

2011-01-21 Thread Stefano Lattarini
And the following diff should be squashed in: -*-*-*- diff --git a/ChangeLog b/ChangeLog index 75be7e9..b0610f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,7 +3,8 @@ tests: cover yacc target-specific flags, and `-v' flag handling * tests/yacc-basic: Try also to build a parser

Re: [PATCH] {yacc-work} tests: cover yacc target-specific flags, and `-v' flag handling

2011-01-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jan 21, 2011 at 01:13:35PM CET: A small testsuite patch which slightly increases coverage of Automake Yacc support. OK for the temporary branch yacc-work (which at this point could as well be made public maybe), to be merged into master? I will push in 72

Re: [PATCH] {yacc-work} tests: cover yacc target-specific flags, and `-v' flag handling

2011-01-21 Thread Stefano Lattarini
On Friday 21 January 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Fri, Jan 21, 2011 at 01:13:35PM CET: A small testsuite patch which slightly increases coverage of Automake Yacc support. OK for the temporary branch yacc-work (which at this point could as well be made public

tests: check for presence of cscope with redirected input. (was: autobuild logs)

2011-01-21 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Tue, Jan 18, 2011 at 09:09:28PM CET: Haven't looked in any detail yet, but while some things are better, the number of failures is still very high. There's even a couple of runs that hang in cscope3.test and tar2.test. :-( The first one is fixed by the patch below.

Re: [PATCH] {yacc-work} tests: cover yacc target-specific flags, and `-v' flag handling

2011-01-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jan 21, 2011 at 09:02:34PM CET: On Friday 21 January 2011, Ralf Wildenhues wrote: What make implementation did you test this with? Was this on a real Solaris, Yes, with Solaris 10 XPG4 make (I've just re-checked, JTBS). OTOH, the test passes with Solaris

Re: [PATCH] {yacc-work} tests: cover yacc target-specific flags, and `-v' flag handling

2011-01-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jan 21, 2011 at 10:08:13PM CET: On Friday 21 January 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Fri, Jan 21, 2011 at 09:02:34PM CET: On Friday 21 January 2011, Ralf Wildenhues wrote: What make implementation did you test this with? Was

Re: [PATCH] {yacc-work} tests: more coverage on yacc/lex silent-rules, plus minor cleanups

2011-01-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jan 21, 2011 at 01:16:35PM CET: The `silent-yacc*.test' and `silent-lex*.test' tests were testing non-generic rules for C sources only, not for Lex/Yacc sources. Also, the output emitted by automake-generated rules when updating a yacc-generated header

Re: [PATCH] {yacc-work} tests: cover yacc target-specific flags, and `-v' flag handling

2011-01-21 Thread Stefano Lattarini
On Friday 21 January 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Fri, Jan 21, 2011 at 10:08:13PM CET: On Friday 21 January 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Fri, Jan 21, 2011 at 09:02:34PM CET: On Friday 21 January 2011, Ralf Wildenhues wrote:

Re: [PATCH] {yacc-work} tests: cover yacc target-specific flags, and `-v' flag handling

2011-01-21 Thread Stefano Lattarini
On Friday 21 January 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Fri, Jan 21, 2011 at 09:02:34PM CET: On Friday 21 January 2011, Ralf Wildenhues wrote: What make implementation did you test this with? Was this on a real Solaris, Yes, with Solaris 10 XPG4 make (I've

Re: Fix LEXLIB and YYTEXT_POINTER with IRIX 6.5 flex 2.5.4.

2011-01-21 Thread Eric Blake
On 01/21/2011 01:57 PM, Ralf Wildenhues wrote: http://autobuild.josefsson.org/automake/log-201101181921817456000.txt On IRIX, the code from AC_PROG_LEX sees something like this: $ cc -o conf lex.yy.c -ll cc-1042 cc: ERROR File = conf.l, Line = 6 The types of operands char * and int are