bison-patches
[Top][All Lists]
Advanced

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

Re: temporary workaround for current test failures in lalr1.cc


From: Akim Demaille
Subject: Re: temporary workaround for current test failures in lalr1.cc
Date: Thu, 16 Dec 2004 10:34:48 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

>>> "Paul" == Paul Eggert <address@hidden> writes:

 > Akim Demaille <address@hidden> writes:
 >> There was no known failure here!  What's the problem?

 > To reproduce the problem, I checked out CVS Bison, applied the
 > following patch:

[...]

:) :) :)

I guessed so.  But I do not experience the problem.

 > --- -        2004-12-15 14:53:58 -0800
 > +++ /home/eggert/src/gnu/bison-akim/tests/testsuite.dir/at-stdout    
 > 2004-12-15 14:53:58 -0800
 > @@ -1,6 +1,6 @@
 >  sending: '(' (address@hidden)
 >  sending: 'y' (address@hidden)
 > -10-19: syntax error, unexpected 'y', expecting 'x'
 > +10-19: syntax error, unexpected 'y', expecting 'x' or thing

I'm puzzled.  It depends on the version of G++, but valgrind sees
nothing suspicious.  I'll dig.


% _srcdir/testsuite 44 PREBISON='valgrind -q' PREPARSER='valgrind -q' 
CXX=g++-3.3 -v
## ---------------------------- ##
## GNU Bison 1.875f test suite. ##
## ---------------------------- ##
44. actions.at:471: testing ...
actions.at:471: bison -o input.cc input.y
actions.at:471: $BISON_CXX_WORKS
stderr:
stdout:
actions.at:471: $CXX $CXXFLAGS $CPPFLAGS input.cc -o input
stderr:
stdout:
actions.at:471: $PREPARSER ./input '(x)'
actions.at:471: $PREPARSER ./input '(y)'
actions.at:471: $PREPARSER ./input '(xxxxx)(x)(x)y'
44. actions.at:471: ok

## ------------- ##
## Test results. ##
## ------------- ##

1 test was successful.



% _srcdir/testsuite 44 PREBISON='valgrind -q' PREPARSER='valgrind -q' 
CXX=g++-3.4 -v
## ---------------------------- ##
## GNU Bison 1.875f test suite. ##
## ---------------------------- ##
44. actions.at:471: testing ...
actions.at:471: bison -o input.cc input.y
actions.at:471: $BISON_CXX_WORKS
stderr:
stdout:
actions.at:471: $CXX $CXXFLAGS $CPPFLAGS input.cc -o input
stderr:
stdout:
actions.at:471: $PREPARSER ./input '(x)'
actions.at:471: $PREPARSER ./input '(y)'
--- -   2004-12-16 10:32:55.000000000 +0100
+++ /home/akim/src/bison/tests/_build/testsuite.dir/at-stdout   2004-12-16 
10:32:55.000000000 +0100
@@ -1,6 +1,6 @@
 sending: '(' (address@hidden)
 sending: 'y' (address@hidden)
-10-19: syntax error, unexpected 'y', expecting 'x'
+10-19: syntax error, unexpected 'y', expecting 'x' or thing
 Freeing token 'y' (address@hidden)
 sending: ')' (address@hidden)
 line (address@hidden): '(' (address@hidden) error (@10-19) ')' (address@hidden)
44. actions.at:471: FAILED (actions.at:471)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 1 test was run,
1 failed unexpectedly.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `testsuite.log' and all information you think might help:

   To: <address@hidden>
   Subject: [GNU Bison 1.875f] testsuite: 44 failed


You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point.








reply via email to

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