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: Paul Eggert
Subject: Re: temporary workaround for current test failures in lalr1.cc
Date: Wed, 15 Dec 2004 14:57:07 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

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:

--- actions.at.~1.44.~  2004-12-15 08:18:11 -0800
+++ actions.at  2004-12-15 14:47:20 -0800
@@ -468,10 +468,10 @@ AT_CHECK_PRINTER_AND_DESTRUCTOR([], [wit
 # These tests currently fail on a Debian GNU/Linux 3.0r2 x86 host,
 # but the 2nd test succeeds on a Solaris 9 sparc hosts (Forte 7 cc).
 # Skip them until we figure out what the problem is.
-AT_CHECK_PRINTER_AND_DESTRUCTOR([%defines %skeleton "lalr1.cc"], ,
-  [AT_CHECK([exit 77])])
-AT_CHECK_PRINTER_AND_DESTRUCTOR([%defines %skeleton "lalr1.cc"], [with union],
-  [AT_CHECK([exit 77])])
+AT_CHECK_PRINTER_AND_DESTRUCTOR([%defines %skeleton "lalr1.cc"])
+
+AT_CHECK_PRINTER_AND_DESTRUCTOR([%defines %skeleton "lalr1.cc"], [with union])
+
 
 AT_CHECK_PRINTER_AND_DESTRUCTOR([%glr-parser])
 AT_CHECK_PRINTER_AND_DESTRUCTOR([%glr-parser], [with union])


and then did a "bootstrap; ./configure; make; make check".  My host is
Debian GNU/Linux 3.0r1 (x86).  Tests 44 and 45 failed as follows:

bash-2.05a$ ./testsuite -v -d 44 45
## ---------------------------- ##
## 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-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
 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)

45. actions.at:473: testing ...
actions.at:473: bison -o input.cc input.y
actions.at:473: $BISON_CXX_WORKS
stderr:
stdout:
actions.at:473: $CXX $CXXFLAGS $CPPFLAGS input.cc -o input
stderr:
stdout:
actions.at:473: $PREPARSER ./input '(x)'
actions.at:473: $PREPARSER ./input '(y)'
actions.at:473: $PREPARSER ./input '(xxxxx)(x)(x)y'
--- -   2004-12-15 14:54:05 -0800
+++ /home/eggert/src/gnu/bison-akim/tests/testsuite.dir/at-stdout       
2004-12-15 14:54:05 -0800
@@ -29,7 +29,7 @@
 input (address@hidden): line (address@hidden) input (address@hidden)
 input (address@hidden): line (address@hidden) input (address@hidden)
 input (address@hidden): line (address@hidden) input (address@hidden)
-130-139: syntax error, unexpected 'y', expecting $end
+130-139: syntax error, unexpected 'y', expecting $end or ';'
 Freeing nterm input (address@hidden)
 Freeing token 'y' (address@hidden)
 Parsing FAILED.
45. actions.at:473: FAILED (actions.at:473)

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

ERROR: All 2 tests were run,
2 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 45 failed





reply via email to

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