bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Bison 3.7.1] testsuite: 136 failed


From: David Laxer
Subject: Re: [GNU Bison 3.7.1] testsuite: 136 failed
Date: Sun, 30 Aug 2020 11:08:05 -0700

437: Token numbers: lalr1.d                          skipped (scanner.at:336)
438: Token numbers: lalr1.d api.token.raw            skipped (scanner.at:336)

…

LALR(1) D Calculator.

520: Calculator lalr1.d                              skipped (calc.at:1235)
521: Calculator D                                    skipped (calc.at:1240)
522: Calculator D %locations                         skipped (calc.at:1241)
523: Calculator D parse.error=verbose api.prefix={calc} %verbose  skipped 
(calc.at:1243)
524: Calculator D %debug                             skipped (calc.at:1245)
525: Calculator D parse.error=verbose %debug %verbose  skipped (calc.at:1247)

…

Torture Tests.


541: State number type: 128 states                   skipped (torture.at:270)
542: State number type: 129 states                   skipped (torture.at:271)
543: State number type: 256 states                   skipped (torture.at:272)
544: State number type: 257 states                   skipped (torture.at:273)
545: State number type: 32768 states                 skipped (torture.at:274)
546: State number type: 65536 states                 skipped (torture.at:275)
547: State number type: 65537 states                 skipped (torture.at:276)

> On Aug 30, 2020, at 10:47 AM, David Laxer <davidl@softintel.com> wrote:
> 
> ## ------------- ##
> ## Test results. ##
> ## ------------- ##
> 
> 647 tests were successful.
> 15 tests were skipped.
> 
>> On Aug 30, 2020, at 8:35 AM, Akim Demaille <akim@lrde.epita.fr 
>> <mailto:akim@lrde.epita.fr>> wrote:
>> 
>> 
>> 
>>> Le 30 août 2020 à 16:32, David Laxer <davidl@softintel.com 
>>> <mailto:davidl@softintel.com>> a écrit :
>>> 
>>> 
>>> $ grep '#line' bison-3.7.1/tests/testsuite.dir/136/out/include/ast/loc.hh
>>> #line 10 "x1.yy"
>>> #line 59 "bar/include/ast/loc.hh"
>>> #line 10 "x1.yy"
>>> #line 305 "bar/include/ast/loc.hh"
>>>> On Aug 30, 2020, at 1:38 AM, Akim Demaille <akim@lrde.epita.fr 
>>>> <mailto:akim@lrde.epita.fr>> wrote:
>>>> 
>>>> grep '#line' bison-3.7.1/tests/testsuite.dir/136/out/include/ast/loc.hh
>>> 
>> 
>> Thanks.  That confirms the problem.  I'm installing the appended patch.
>> I would appreciate if you could give a try to this tarball.  Thanks in 
>> advance!
>> 
>> https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.1.16-4ed13.tar.gz 
>> <https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.1.16-4ed13.tar.gz>
>> https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.1.16-4ed13.tar.lz
>> https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.1.16-4ed13.tar.xz
>> 
>> 
>> commit ba3d34aeba3baf2fe5a730f3d73fd004ae780f28
>> Author: Akim Demaille <akim.demaille@gmail.com>
>> Date:   Sun Aug 30 17:08:23 2020 +0200
>> 
>>    tests: beware of sed portability issues
>> 
>>    Reported by David Laxer <davidl@softintel.com>.
>>    https://lists.gnu.org/r/bug-bison/2020-08/msg00027.html
>> 
>>    * tests/output.at: Don't use + with sed.
>>    While at it, fix a quotation problem hidden by the use of '#'.
>> 
>> diff --git a/tests/output.at b/tests/output.at
>> index 60267c2d..5af1e914 100644
>> --- a/tests/output.at
>> +++ b/tests/output.at
>> @@ -759,7 +759,7 @@ AT_TEST([x1],
>>          ])
>> 
>> # Check the CPP guard and Doxyen comments.
>> -AT_CHECK([sed -ne 's/#line [0-9]\+ "/#line 
>> "/p;/INCLUDED/p;/\\file/{p;n;p;}' out/include/ast/loc.hh], [],
>> +AT_CHECK([[sed -ne 's/#line [0-9][0-9]* "/#line 
>> "/p;/INCLUDED/p;/\\file/{p;n;p;}' out/include/ast/loc.hh]], [],
>> [[ ** \file bar/include/ast/loc.hh
>>  ** Define the x1::location class.
>> #ifndef YY_YY_BAR_INCLUDE_AST_LOC_HH_INCLUDED
>> @@ -771,7 +771,7 @@ AT_CHECK([sed -ne 's/#line [0-9]\+ "/#line 
>> "/p;/INCLUDED/p;/\\file/{p;n;p;}' out
>> #endif // !YY_YY_BAR_INCLUDE_AST_LOC_HH_INCLUDED
>> ]])
>> 
>> -AT_CHECK([sed -ne 's/^#line [0-9]\+ "/#line 
>> "/p;/INCLUDED/p;/\\file/{p;n;p;}' out/x1.hh], [],
>> +AT_CHECK([[sed -ne 's/^#line [0-9][0-9]* "/#line 
>> "/p;/INCLUDED/p;/\\file/{p;n;p;}' out/x1.hh]], [],
>> [[ ** \file bar/x1.hh
>>  ** Define the x1::parser class.
>> #ifndef YY_YY_BAR_X1_HH_INCLUDED
>> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]