## ------------------------- ## ## GNU Bison 2.1 test suite. ## ## ------------------------- ## testsuite: command line was: $ ../../bison-2.1-src/tests/testsuite ## ----------- ## ## ChangeLogs. ## ## ----------- ## testsuite: ../../bison-2.1-src/ChangeLog: | 2005-09-16 Paul Eggert | | * NEWS: Version 2.1. | | * NEWS: Remove notice of yytname change, since it was never in an | official release. | * data/glr.c (yydestroyGLRState): Rename local var to avoid shadowing | diagnostic. | * src/output.c (prepare): Likewise. | * data/lalr1.cc (YYERROR_VERBOSE_IF): New macro. ## --------- ## ## Platform. ## ## --------- ## hostname = gamma uname -m = i686 uname -r = 1.5.18(0.132/4/2) uname -s = CYGWIN_NT-5.1 uname -v = 2005-07-02 20:30 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /cygdrive/j/Devel/bison/2.1/bison-2.1/tests PATH: /cygdrive/j/Devel/bison/2.1/bison-2.1-src/tests PATH: /cygdrive/g/mingw/3.3.1/bin PATH: /usr/bin PATH: /usr/local/bin PATH: /cygdrive/d/Util PATH: /cygdrive/d/Program Files/GnuWin32/bin PATH: /cygdrive/g/TeX/miktex/bin PATH: /cygdrive/c/WINDOWS/system32 PATH: /cygdrive/c/WINDOWS PATH: /cygdrive/c/WINDOWS/System32/Wbem PATH: /cygdrive/g/SFU/common testsuite: atconfig: | # Configurable variable values for building test suites. | # Generated by ./config.status. | # Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. | | # The test suite will define top_srcdir=/../.. etc. | at_testdir='tests' | abs_builddir='j:/Devel/bison/2.1/bison-2.1/tests' | at_srcdir='../../bison-2.1-src/tests' | abs_srcdir='j:/Devel/bison/2.1/bison-2.1/tests/../../bison-2.1-src/tests' | at_top_srcdir='../../bison-2.1-src' | abs_top_srcdir='j:/Devel/bison/2.1/bison-2.1/tests/../../bison-2.1-src' | at_top_builddir='../' | abs_top_builddir='j:/Devel/bison/2.1/bison-2.1/tests/../.' | | AUTOTEST_PATH='tests' | | SHELL=${CONFIG_SHELL-'/bin/sh'} testsuite: atlocal: | # tests/atlocal. Generated from atlocal.in by configure. -*- shell-script -*- | # Configurable variable values for Bison test suite. | # Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | | # We need a C compiler. | CC='gcc' | | # We want no optimization. | CFLAGS='-Wall -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 -ffast-math ' | | # We need `config.h'. | CPPFLAGS="-DHAVE_CONFIG_H=1 -I$abs_top_builddir -D__GW32__ -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter D:/Progra~1/GnuWin32/include -idirafter g:/glibc/include " | | # Is the compiler GCC? | GCC='yes' | | # The C++ compiler. | CXX='g++' | | # If 'exit 77'; skip all C++ tests; otherwise ':'. | BISON_CXX_WORKS=':' | | # We want no optimization with C++, too. | CXXFLAGS='-Wall -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 -ffast-math -fconserve-space -fno-rtti ' | | # Are special link options needed? | LDFLAGS=' -Wl,-s -Wl,--force-exe-suffix -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -Wl,--allow-multiple-definition -Wl,--enable-stdcall-fixup -LD:/Progra~1/GnuWin32/lib ' | | # Are special libraries needed? | LIBS=' -Wl,-s -LD:/Progra~1/GnuWin32/lib -lgw32c -liberty -lintl -liconv -lwsock32 -lole32 -luuid -lmsvcp60 ' ## ---------------- ## ## Tested programs. ## ## ---------------- ## local.at:206: /cygdrive/j/Devel/bison/2.1/bison-2.1/tests/bison --version bison (GNU Bison) 2.1 Written by Robert Corbett and Richard Stallman. Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ## ------------------ ## ## Running the tests. ## ## ------------------ ## testsuite: starting at: Sat Nov 19 11:59:26 CET 2005 1. Invalid dollar-n (input.at:28): ok (0m0.305s 0m0.167s) 2. Invalid @n (input.at:46): ok (0m0.242s 0m0.231s) 3. Type Clashes (input.at:64): ok (0m0.243s 0m0.197s) 4. Incompatible Aliases (input.at:89): ok (0m0.242s 0m0.216s) 5. Torturing the Scanner (input.at:130): ok (0m1.226s 0m1.118s) 6. Typed symbol aliases (input.at:281): ok (0m0.242s 0m0.200s) 7. Output files: & -dv . (output.at:38): ok (0m0.408s 0m0.350s) 8. Output files: & -dv >&-. (output.at:41): ok (0m0.408s 0m0.368s) 9. Output files: & -dv -o foo.c . (output.at:43): ok (0m0.408s 0m0.381s) 10. Output files: & -dv -o foo.tab.c . (output.at:45): ok (0m0.456s 0m0.353s) 11. Output files: & -dv -y . (output.at:47): ok (0m0.456s 0m0.367s) 12. Output files: & -dv -b bar . (output.at:49): ok (0m0.488s 0m0.290s) 13. Output files: & -dv -g -o foo.c . (output.at:51): ok (0m0.392s 0m0.413s) 14. Output files: %defines %verbose & . (output.at:55): ok (0m0.408s 0m0.414s) 15. Output files: %defines %verbose %yacc & . (output.at:57): ok (0m0.408s 0m0.352s) 16. Output files: %defines %verbose %yacc & . (output.at:60): ok (0m0.440s 0m0.321s) 17. Output files: %file-prefix="bar" %defines %verbose & . (output.at:64): ok (0m0.472s 0m0.351s) 18. Output files: %output="bar.c" %defines %verbose %yacc & . (output.at:66): ok (0m0.376s 0m0.446s) 19. Output files: %file-prefix="baz" %output="bar.c" %defines %verbose %yacc & . (output.at:70): ok (0m0.392s 0m0.383s) 20. Output files: %defines %verbose & . (output.at:75): ok (0m0.456s 0m0.367s) 21. Output files: %defines %verbose & -o foo.c . (output.at:78): ok (0m0.423s 0m0.382s) 22. Output files: & --defines=foo.hpp -o foo.c++ . (output.at:82): ok (0m0.455s 0m0.274s) 23. Output files: & -o foo.c++ --graph=foo.gph . (output.at:86): ok (0m0.471s 0m0.290s) 24. Nullable (sets.at:66): ok (0m0.864s 0m0.719s) 25. Broken Closure (sets.at:151): ok (0m0.423s 0m0.431s) 26. Firsts (sets.at:193): ok (0m0.847s 0m0.769s) 27. Useless Terminals (reduce.at:26): ok (0m0.455s 0m0.397s) 28. Useless Nonterminals (reduce.at:70): ok (0m0.438s 0m0.383s) 29. Useless Rules (reduce.at:125): ok (0m0.502s 0m0.476s) 30. Reduced Automaton (reduce.at:212): ok (0m0.924s 0m0.826s) 31. Underivable Rules (reduce.at:301): ok (0m0.502s 0m0.352s) 32. Empty Language (reduce.at:342): ok (0m0.226s 0m0.246s) 33. Prologue synch line (synclines.at:95): ok (0m1.408s 0m1.286s) 34. %union synch line (synclines.at:115): ok (0m1.488s 0m1.125s) 35. Postprologue synch line (synclines.at:138): ok (0m1.455s 0m1.084s) 36. Action synch line (synclines.at:157): ok (0m1.408s 0m1.023s) 37. Epilogue synch line (synclines.at:175): ok (0m1.344s 0m1.335s) 38. %union and --defines (headers.at:27): ok (0m0.243s 0m0.215s) 39. Invalid CPP guards: input/input (headers.at:76): ok (0m0.548s 0m0.398s) 40. Invalid CPP guards: 9foo (headers.at:77): ok (0m0.452s 0m0.431s) 41. export YYLTYPE (headers.at:86): ok (0m0.937s 0m0.904s) 42. Mid-rule actions (actions.at:25): ok (0m0.606s 0m0.552s) 43. Exotic Dollars (actions.at:91): ok (0m0.574s 0m0.582s) 44. Printers and Destructors : (actions.at:524): ok (0m1.213s 0m1.076s) 45. Printers and Destructors with union: (actions.at:525): ok (0m1.181s 0m1.071s) 46. Printers and Destructors : %defines %skeleton "lalr1.cc" (actions.at:530): ok (0m1.151s 0m1.040s) 47. Printers and Destructors with union: %defines %skeleton "lalr1.cc" (actions.at:531): ok (0m1.055s 0m1.057s) 48. Printers and Destructors : %glr-parser (actions.at:533): ok (0m1.048s 0m0.764s) 49. Printers and Destructors with union: %glr-parser (actions.at:534): ok (0m1.047s 0m0.793s) 50. S/R in initial (conflicts.at:32): ok (0m0.274s 0m0.198s) 51. %nonassoc and eof (conflicts.at:52): ok (0m1.364s 0m1.145s) 52. Unresolved SR Conflicts (conflicts.at:128): ok (0m0.502s 0m0.351s) 53. Resolved SR Conflicts (conflicts.at:235): ok (0m0.423s 0m0.445s) 54. Defaulted Conflicted Reduction (conflicts.at:357): ok (0m0.470s 0m0.459s) 55. %expect not enough (conflicts.at:476): ok (0m0.274s 0m0.199s) 56. %expect right (conflicts.at:496): ok (0m0.243s 0m0.199s) 57. %expect too much (conflicts.at:513): ok (0m0.305s 0m0.199s) 58. %expect with reduce conflicts (conflicts.at:533): ok (0m0.210s 0m0.277s) 59. %no-default-prec without %prec (conflicts.at:553): ok (0m0.242s 0m0.136s) 60. %no-default-prec with %prec (conflicts.at:579): ok (0m0.211s 0m0.277s) 61. %default-prec (conflicts.at:603): ok (0m0.211s 0m0.229s) 62. Calculator (calc.at:542): ok (0m6.449s 0m5.678s) 63. Calculator %defines (calc.at:544): ok (0m6.446s 0m5.590s) 64. Calculator %locations (calc.at:545): ok (0m5.704s 0m4.572s) 65. Calculator %name-prefix="calc" (calc.at:546): ok (0m6.331s 0m5.145s) 66. Calculator %verbose (calc.at:547): ok (0m6.104s 0m5.373s) 67. Calculator %yacc (calc.at:548): ok (0m6.375s 0m5.343s) 68. Calculator %error-verbose (calc.at:549): ok (0m5.734s 0m4.856s) 69. Calculator %pure-parser %locations (calc.at:551): ok (0m6.387s 0m5.359s) 70. Calculator %error-verbose %locations (calc.at:552): ok (0m5.166s 0m4.242s) 71. Calculator %error-verbose %locations %defines %name-prefix="calc" %verbose %yacc (calc.at:554): ok (0m5.113s 0m4.486s) 72. Calculator %debug (calc.at:556): ok (0m8.811s 0m7.802s) 73. Calculator %error-verbose %debug %locations %defines %name-prefix="calc" %verbose %yacc (calc.at:557): ok (0m7.613s 0m6.533s) 74. Calculator %pure-parser %error-verbose %debug %locations %defines %name-prefix="calc" %verbose %yacc (calc.at:559): ok (0m8.152s 0m7.226s) 75. Calculator %pure-parser %error-verbose %debug %locations %defines %name-prefix="calc" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count} (calc.at:561): ok (0m7.964s 0m6.343s) 76. Calculator %glr-parser (calc.at:578): ok (0m6.401s 0m5.528s) 77. Calculator %glr-parser %defines (calc.at:580): ok (0m6.386s 0m5.460s) 78. Calculator %glr-parser %locations (calc.at:581): ok (0m5.893s 0m4.987s) 79. Calculator %glr-parser %name-prefix="calc" (calc.at:582): ok (0m6.305s 0m5.622s) 80. Calculator %glr-parser %verbose (calc.at:583): ok (0m6.419s 0m5.370s) 81. Calculator %glr-parser %yacc (calc.at:584): ok (0m6.402s 0m5.310s) 82. Calculator %glr-parser %error-verbose (calc.at:585): ok (0m5.797s 0m5.202s) 83. Calculator %glr-parser %pure-parser %locations (calc.at:587): ok (0m5.766s 0m4.876s) 84. Calculator %glr-parser %error-verbose %locations (calc.at:588): ok (0m5.113s 0m4.509s) 85. Calculator %glr-parser %error-verbose %locations %defines %name-prefix="calc" %verbose %yacc (calc.at:590): ok (0m5.195s 0m4.484s) 86. Calculator %glr-parser %debug (calc.at:592): ok (0m6.481s 0m5.610s) 87. Calculator %glr-parser %error-verbose %debug %locations %defines %name-prefix="calc" %verbose %yacc (calc.at:593): ok (0m4.986s 0m4.565s) 88. Calculator %glr-parser %pure-parser %error-verbose %debug %locations %defines %name-prefix="calc" %verbose %yacc (calc.at:595): ok (0m5.081s 0m4.490s) 89. Calculator %glr-parser %pure-parser %error-verbose %debug %locations %defines %name-prefix="calc" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count} (calc.at:597): ok (0m5.212s 0m4.365s) 90. Calculator %skeleton "lalr1.cc" %defines %locations (calc.at:615): ok (0m5.932s 0m5.189s) 91. Calculator %skeleton "lalr1.cc" %defines (calc.at:617): ok (0m6.504s 0m5.469s) 92. Calculator %skeleton "lalr1.cc" %error-verbose %locations %defines %name-prefix="calc" %verbose %yacc (calc.at:627): ok (0m5.360s 0m4.552s) 93. Calculator %skeleton "lalr1.cc" %error-verbose %debug %locations %defines %name-prefix="calc" %verbose %yacc (calc.at:630): ok (0m7.716s 0m6.784s) 94. Calculator %skeleton "lalr1.cc" %pure-parser %error-verbose %debug %locations %defines %name-prefix="calc" %verbose %yacc (calc.at:632): ok (0m7.877s 0m6.659s) 95. Calculator %skeleton "lalr1.cc" %pure-parser %error-verbose %debug %locations %defines %name-prefix="calc" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count} (calc.at:634): ok (0m7.860s 0m6.674s) 96. Big triangle (torture.at:141): ok (0m1.412s 0m0.704s) 97. Big horizontal (torture.at:232): ok (0m0.879s 0m0.842s) 98. Many look-ahead tokens (torture.at:367): ok (0m0.814s 0m0.827s) 99. Exploding the Stack Size with Alloca (torture.at:444): ok (0m1.032s 0m0.795s) 100. Exploding the Stack Size with Malloc (torture.at:469): ok (0m1.002s 0m0.965s) 101. GNU AWK Grammar (existing.at:26): ok (0m0.291s 0m0.152s) 102. GNU Cim Grammar (existing.at:366): ok (0m0.390s 0m0.536s) 103. GNU pic Grammar (existing.at:1218): ok (0m0.211s 0m0.246s) 104. Early token definitions (regression.at:27): ok (0m0.409s 0m0.320s) 105. Braces parsing (regression.at:65): ok (0m0.408s 0m0.321s) 106. Duplicate string (regression.at:87): ok (0m0.242s 0m0.230s) 107. Rule Line Numbers (regression.at:113): ok (0m0.408s 0m0.415s) 108. Mixing %token styles (regression.at:257): ok (0m0.259s 0m0.184s) 109. Invalid inputs (regression.at:280): ok (0m0.226s 0m0.276s) 110. Invalid inputs with {} (regression.at:306): ok (0m0.226s 0m0.276s) 111. Token definitions (regression.at:333): ok (0m0.605s 0m0.474s) 112. Characters Escapes (regression.at:386): ok (0m0.409s 0m0.352s) 113. Web2c Report (regression.at:417): ok (0m0.439s 0m0.368s) 114. Web2c Actions (regression.at:594): ok (0m0.484s 0m0.476s) 115. Dancer (regression.at:836): ok (0m0.818s 0m0.737s) 116. Dancer %glr-parser (regression.at:837): ok (0m0.755s 0m0.690s) 117. Dancer %skeleton "lalr1.cc" (regression.at:838): ok (0m1.049s 0m0.719s) 118. Doxygen Public Documentation (c++.at:102): skipped (c++.at:102) 119. Doxygen Private Documentation (c++.at:103): skipped (c++.at:103) 120. GLR: Resolve ambiguity, impure, no locations (cxx-type.at:319): ok (0m0.634s 0m0.616s) 121. GLR: Resolve ambiguity, impure, locations (cxx-type.at:326): ok (0m0.651s 0m0.676s) 122. GLR: Resolve ambiguity, pure, no locations (cxx-type.at:332): ok (0m0.730s 0m0.550s) 123. GLR: Resolve ambiguity, pure, locations (cxx-type.at:339): ok (0m0.651s 0m0.615s) 124. GLR: Merge conflicting parses, impure, no locations (cxx-type.at:346): ok (0m0.603s 0m0.615s) 125. GLR: Merge conflicting parses, impure, locations (cxx-type.at:353): ok (0m0.747s 0m0.517s) 126. GLR: Merge conflicting parses, pure, no locations (cxx-type.at:360): ok (0m0.651s 0m0.584s) 127. GLR: Merge conflicting parses, pure, locations (cxx-type.at:366): ok (0m0.667s 0m0.518s) 128. GLR: Verbose messages, resolve ambiguity, impure, no locations (cxx-type.at:373): ok (0m0.619s 0m0.596s) 129. Badly Collapsed GLR States (glr-regression.at:25): ok (0m0.588s 0m0.599s) 130. Improper handling of embedded actions and dollar(-N) in GLR parsers (glr-regression.at:116): ok (0m1.074s 0m0.950s) 131. Improper merging of GLR delayed action sets (glr-regression.at:232): ok (0m0.651s 0m0.505s) 132. Duplicate representation of merged trees (glr-regression.at:338): ok (0m0.605s 0m0.536s) 133. User destructor for unresolved GLR semantic value (glr-regression.at:434): ok (0m0.589s 0m0.614s) 134. User destructor after an error during a split parse (glr-regression.at:505): ok (0m0.652s 0m0.553s) 135. Duplicated user destructor for lookahead (glr-regression.at:570): skipped (glr-regression.at:636) testsuite: ending at: Sat Nov 19 12:09:16 CET 2005 testsuite: test suite duration: 0h 9m 51s ## ------------- ## ## Test results. ## ## ------------- ## 132 tests were successful. 3 tests were skipped.