| | 3 | * ./configure --prefix=/boot/common --disable-nls |
| | 4 | * make |
| | 5 | * make install |
| | 6 | |
| | 7 | * make check: |
| | 8 | |
| | 9 | {{{ |
| | 10 | ## --------------------------- ## |
| | 11 | ## GNU Bison 2.4.1 test suite. ## |
| | 12 | ## --------------------------- ## |
| | 13 | |
| | 14 | Input Processing. |
| | 15 | |
| | 16 | 1: Invalid $n and @n ok |
| | 17 | 2: Type Clashes ok |
| | 18 | 3: Unused values ok |
| | 19 | 4: Unused values before symbol declarations ok |
| | 20 | 5: Default %printer and %destructor redeclared ok |
| | 21 | 6: Per-type %printer and %destructor redeclared ok |
| | 22 | 7: Unused values with default %destructor ok |
| | 23 | 8: Unused values with per-type %destructor ok |
| | 24 | 9: Incompatible Aliases ok |
| | 25 | 10: Torturing the Scanner ok |
| | 26 | 11: Typed symbol aliases ok |
| | 27 | 12: Require 1.0 ok |
| | 28 | 13: Require 2.4.1 ok |
| | 29 | 14: Require 100.0 ok |
| | 30 | 15: String aliases for character tokens ok |
| | 31 | 16: Unclosed constructs ok |
| | 32 | 17: %start after first rule ok |
| | 33 | 18: %prec takes a token ok |
| | 34 | 19: Reject unused %code qualifiers ok |
| | 35 | 20: %define errors ok |
| | 36 | 21: %define Boolean variables ok |
| | 37 | 22: %define enum variables ok |
| | 38 | 23: Unused %define api.pure ok |
| | 39 | 24: C++ namespace reference errors ok |
| | 40 | |
| | 41 | Output file names. |
| | 42 | |
| | 43 | 25: Output files: -dv ok |
| | 44 | 26: Output files: -dv >&- ok |
| | 45 | 27: Output files: -dv -o foo.c ok |
| | 46 | 28: Output files: -dv -o foo.tab.c ok |
| | 47 | 29: Output files: -dv -y ok |
| | 48 | 30: Output files: -dv -b bar ok |
| | 49 | 31: Output files: -dv -g -o foo.c ok |
| | 50 | 32: Output files: %defines %verbose ok |
| | 51 | 33: Output files: %defines %verbose %yacc ok |
| | 52 | 34: Output files: %defines %verbose %yacc ok |
| | 53 | 35: Output files: %file-prefix "bar" %defines %verbose ok |
| | 54 | 36: Output files: %output="bar.c" %defines %verbose %yacc ok |
| | 55 | 37: Output files: %file-prefix="baz" %output "bar.c" %defines %verbose %yacc ok |
| | 56 | 38: Output files: %defines %verbose ok |
| | 57 | 39: Output files: %defines %verbose -o foo.c ok |
| | 58 | 40: Output files: --defines=foo.hpp -o foo.c++ ok |
| | 59 | 41: Output files: %defines "foo.hpp" -o foo.c++ ok |
| | 60 | 42: Output files: -o foo.c++ --graph=foo.gph ok |
| | 61 | 43: Output files: %skeleton "lalr1.cc" %defines %verbose ok |
| | 62 | 44: Output files: %skeleton "lalr1.cc" %defines %verbose ok |
| | 63 | 45: Output files: %skeleton "lalr1.cc" %defines %verbose -o subdir/foo.cc ok |
| | 64 | 46: Output files: %skeleton "lalr1.cc" %defines %verbose %file-prefix "output_dir/foo" ok |
| | 65 | 47: Conflicting output files: --graph="foo.tab.c" ok |
| | 66 | 48: Conflicting output files: %defines "foo.output" -v ok |
| | 67 | 49: Conflicting output files: %skeleton "lalr1.cc" %defines --graph="location.hh" ok |
| | 68 | 50: Conflicting output files: -o foo.y ok |
| | 69 | 51: Output file name: `~!@#$%^&*()-=_+{}[]|\:;<>, .' ok |
| | 70 | 52: Output file name: ( ok |
| | 71 | 53: Output file name: ) ok |
| | 72 | 54: Output file name: # ok |
| | 73 | 55: Output file name: @@ ok |
| | 74 | 56: Output file name: @{ ok |
| | 75 | 57: Output file name: @} ok |
| | 76 | 58: Output file name: [ ok |
| | 77 | 59: Output file name: ] ok |
| | 78 | |
| | 79 | Skeleton Support. |
| | 80 | |
| | 81 | 60: Relative skeleton file names ok |
| | 82 | 61: Installed skeleton file names ok |
| | 83 | 62: %define Boolean variables: invalid skeleton defaults ok |
| | 84 | 63: Complaining during macro argument expansion ok |
| | 85 | 64: Fatal errors make M4 exit immediately ok |
| | 86 | |
| | 87 | Grammar Sets (Firsts etc.). |
| | 88 | |
| | 89 | 65: Nullable ok |
| | 90 | 66: Broken Closure ok |
| | 91 | 67: Firsts ok |
| | 92 | 68: Accept ok |
| | 93 | |
| | 94 | Grammar Reduction. |
| | 95 | |
| | 96 | 69: Useless Terminals ok |
| | 97 | 70: Useless Nonterminals ok |
| | 98 | 71: Useless Rules ok |
| | 99 | 72: Reduced Automaton ok |
| | 100 | 73: Underivable Rules ok |
| | 101 | 74: Empty Language ok |
| | 102 | |
| | 103 | User Actions. |
| | 104 | |
| | 105 | 75: Prologue synch line skipped (synclines.at:83) |
| | 106 | 76: %union synch line skipped (synclines.at:100) |
| | 107 | 77: Postprologue synch line skipped (synclines.at:120) |
| | 108 | 78: Action synch line skipped (synclines.at:143) |
| | 109 | 79: Epilogue synch line skipped (synclines.at:162) |
| | 110 | |
| | 111 | Parser Headers. |
| | 112 | |
| | 113 | 80: %union and --defines ok |
| | 114 | 81: Invalid CPP guards: input/input ok |
| | 115 | 82: Invalid CPP guards: 9foo ok |
| | 116 | 83: export YYLTYPE ok |
| | 117 | |
| | 118 | User Actions. |
| | 119 | |
| | 120 | 84: Mid-rule actions ok |
| | 121 | 85: Exotic Dollars ok |
| | 122 | 86: Printers and Destructors : ok |
| | 123 | 87: Printers and Destructors with union: ok |
| | 124 | 88: Printers and Destructors : %defines %skeleton "lalr1.cc" FAILED (actions.at:577) |
| | 125 | 89: Printers and Destructors with union: %defines %skeleton "lalr1.cc" FAILED (actions.at:578) |
| | 126 | 90: Printers and Destructors : %glr-parser ok |
| | 127 | 91: Printers and Destructors with union: %glr-parser ok |
| | 128 | 92: Default tagless %printer and %destructor ok |
| | 129 | 93: Default tagged and per-type %printer and %destructor ok |
| | 130 | 94: Default %printer and %destructor for user-defined end token ok |
| | 131 | 95: Default %printer and %destructor are not for error or $undefined ok |
| | 132 | 96: Default %printer and %destructor are not for $accept ok |
| | 133 | 97: Default %printer and %destructor for mid-rule values ok |
| | 134 | 98: @$ in %initial-action implies %locations ok |
| | 135 | 99: @$ in %destructor implies %locations ok |
| | 136 | 100: @$ in %printer implies %locations ok |
| | 137 | |
| | 138 | Conflicts. |
| | 139 | |
| | 140 | 101: S/R in initial ok |
| | 141 | 102: %nonassoc and eof ok |
| | 142 | 103: Unresolved SR Conflicts ok |
| | 143 | 104: Resolved SR Conflicts ok |
| | 144 | 105: Defaulted Conflicted Reduction ok |
| | 145 | 106: %expect not enough ok |
| | 146 | 107: %expect right ok |
| | 147 | 108: %expect too much ok |
| | 148 | 109: %expect with reduce conflicts ok |
| | 149 | 110: %no-default-prec without %prec ok |
| | 150 | 111: %no-default-prec with %prec ok |
| | 151 | 112: %default-prec ok |
| | 152 | 113: Unreachable States After Conflict Resolution ok |
| | 153 | 114: Solved conflicts report for multiple reductions in a state ok |
| | 154 | 115: %nonassoc error actions for multiple reductions in a state ok |
| | 155 | |
| | 156 | Simple LALR(1) Calculator. |
| | 157 | |
| | 158 | 116: Calculator ok |
| | 159 | 117: Calculator %defines ok |
| | 160 | 118: Calculator %locations ok |
| | 161 | 119: Calculator %name-prefix="calc" ok |
| | 162 | 120: Calculator %verbose ok |
| | 163 | 121: Calculator %yacc ok |
| | 164 | 122: Calculator %error-verbose ok |
| | 165 | 123: Calculator %define api.pure %locations ok |
| | 166 | 124: Calculator %define api.push_pull "both" %define api.pure %locations ok |
| | 167 | 125: Calculator %error-verbose %locations ok |
| | 168 | 126: Calculator %error-verbose %locations %defines %name-prefix "calc" %verbose %yacc ok |
| | 169 | 127: Calculator %debug ok |
| | 170 | 128: Calculator %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc ok |
| | 171 | 129: Calculator %define api.pure %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc ok |
| | 172 | 130: Calculator %define api.push_pull "both" %define api.pure %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc ok |
| | 173 | 131: Calculator %define api.pure %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count} ok |
| | 174 | |
| | 175 | Simple GLR Calculator. |
| | 176 | |
| | 177 | 132: Calculator %glr-parser ok |
| | 178 | 133: Calculator %glr-parser %defines ok |
| | 179 | 134: Calculator %glr-parser %locations ok |
| | 180 | 135: Calculator %glr-parser %name-prefix "calc" ok |
| | 181 | 136: Calculator %glr-parser %verbose ok |
| | 182 | 137: Calculator %glr-parser %yacc ok |
| | 183 | 138: Calculator %glr-parser %error-verbose ok |
| | 184 | 139: Calculator %glr-parser %define api.pure %locations ok |
| | 185 | 140: Calculator %glr-parser %error-verbose %locations ok |
| | 186 | 141: Calculator %glr-parser %error-verbose %locations %defines %name-prefix "calc" %verbose %yacc ok |
| | 187 | 142: Calculator %glr-parser %debug ok |
| | 188 | 143: Calculator %glr-parser %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc ok |
| | 189 | 144: Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc ok |
| | 190 | 145: Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count} ok |
| | 191 | |
| | 192 | Simple LALR(1) C++ Calculator. |
| | 193 | |
| | 194 | 146: Calculator %skeleton "lalr1.cc" %defines %locations FAILED (calc.at:636) |
| | 195 | 147: Calculator %language "C++" %defines %locations ok |
| | 196 | 148: Calculator %language "C++" %defines %locations %error-verbose %name-prefix "calc" %verbose %yacc ok |
| | 197 | 149: Calculator %language "C++" %defines %locations %error-verbose %debug %name-prefix "calc" %verbose %yacc ok |
| | 198 | 150: Calculator %language "C++" %defines %locations %pure-parser %error-verbose %debug %name-prefix "calc" %verbose %yacc ok |
| | 199 | 151: Calculator %language "C++" %defines %locations %pure-parser %error-verbose %debug %name-prefix "calc" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count} ok |
| | 200 | |
| | 201 | Simple GLR C++ Calculator. |
| | 202 | |
| | 203 | 152: Calculator %skeleton "glr.cc" %defines %locations FAILED (calc.at:663) |
| | 204 | 153: Calculator %language "C++" %glr-parser %defines %locations ok |
| | 205 | 154: Calculator %language "C++" %glr-parser %defines %locations %error-verbose %name-prefix "calc" %verbose %yacc ok |
| | 206 | 155: Calculator %language "C++" %glr-parser %defines %locations %debug ok |
| | 207 | 156: Calculator %language "C++" %glr-parser %defines %locations %error-verbose %debug %name-prefix "calc" %verbose %yacc ok |
| | 208 | 157: Calculator %language "C++" %glr-parser %defines %locations %pure-parser %error-verbose %debug %name-prefix "calc" %verbose %yacc ok |
| | 209 | 158: Calculator %language "C++" %glr-parser %defines %locations %pure-parser %error-verbose %debug %name-prefix "calc" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count} ok |
| | 210 | |
| | 211 | Torture Tests. |
| | 212 | |
| | 213 | 159: Big triangle ok |
| | 214 | 160: Big horizontal ok |
| | 215 | 161: Many lookahead tokens ok |
| | 216 | 162: Exploding the Stack Size with Alloca ok |
| | 217 | 163: Exploding the Stack Size with Malloc ok |
| | 218 | |
| | 219 | Existing Grammars. |
| | 220 | |
| | 221 | 164: GNU AWK Grammar ok |
| | 222 | 165: GNU Cim Grammar ok |
| | 223 | 166: GNU pic Grammar ok |
| | 224 | |
| | 225 | Regression tests. |
| | 226 | |
| | 227 | 167: Trivial grammars ok |
| | 228 | 168: YYSTYPE typedef ok |
| | 229 | 169: Early token definitions with --yacc ok |
| | 230 | 170: Early token definitions without --yacc ok |
| | 231 | 171: Braces parsing ok |
| | 232 | 172: Duplicate string ok |
| | 233 | 173: Rule Line Numbers ok |
| | 234 | 174: Mixing %token styles ok |
| | 235 | 175: Invalid inputs ok |
| | 236 | 176: Invalid inputs with {} ok |
| | 237 | 177: Token definitions ok |
| | 238 | 178: Characters Escapes ok |
| | 239 | 179: Web2c Report ok |
| | 240 | 180: Web2c Actions ok |
| | 241 | 181: Dancer ok |
| | 242 | 182: Dancer %glr-parser ok |
| | 243 | 183: Dancer %skeleton "lalr1.cc" FAILED (regression.at:956) |
| | 244 | 184: Expecting two tokens ok |
| | 245 | 185: Expecting two tokens %glr-parser ok |
| | 246 | 186: Expecting two tokens %skeleton "lalr1.cc" FAILED (regression.at:1056) |
| | 247 | 187: Braced code in declaration in rules section ok |
| | 248 | 188: String alias declared after use ok |
| | 249 | 189: Extra lookahead sets in report ok |
| | 250 | 190: Token number in precedence declaration ok |
| | 251 | 191: Fix user actions without a trailing semicolon ok |
| | 252 | |
| | 253 | C++ Features. |
| | 254 | |
| | 255 | 192: Doxygen Public Documentation skipped (c++.at:100) |
| | 256 | 193: Doxygen Private Documentation skipped (c++.at:101) |
| | 257 | 194: Relative namespace references ok |
| | 258 | 195: Absolute namespace references FAILED (c++.at:166) |
| | 259 | 196: Syntactically invalid namespace references ok |
| | 260 | |
| | 261 | Java Calculator. |
| | 262 | |
| | 263 | 197: Calculator skipped (java.at:385) |
| | 264 | 198: Calculator %error-verbose skipped (java.at:385) |
| | 265 | 199: Calculator %locations skipped (java.at:385) |
| | 266 | 200: Calculator %error-verbose %locations skipped (java.at:385) |
| | 267 | 201: Calculator %lex-param { InputStream is } skipped (java.at:394) |
| | 268 | 202: Calculator %error-verbose %lex-param { InputStream is } skipped (java.at:394) |
| | 269 | 203: Calculator %locations %lex-param { InputStream is } skipped (java.at:394) |
| | 270 | 204: Calculator %error-verbose %locations %lex-param { InputStream is } skipped (java.at:394) |
| | 271 | |
| | 272 | Java Parameters. |
| | 273 | |
| | 274 | 205: Java parser class and package names skipped (java.at:482) |
| | 275 | 206: Java parser class modifiers skipped (java.at:503) |
| | 276 | 207: Java parser class extends and implements skipped (java.at:561) |
| | 277 | 208: Java %parse-param and %lex-param skipped (java.at:581) |
| | 278 | 209: Java throws specifications skipped (java.at:713) |
| | 279 | 210: Java stype, position_class and location_class skipped (java.at:744) |
| | 280 | |
| | 281 | C++ Type Syntax (GLR). |
| | 282 | |
| | 283 | 211: GLR: Resolve ambiguity, impure, no locations ok |
| | 284 | 212: GLR: Resolve ambiguity, impure, locations ok |
| | 285 | 213: GLR: Resolve ambiguity, pure, no locations ok |
| | 286 | 214: GLR: Resolve ambiguity, pure, locations ok |
| | 287 | 215: GLR: Merge conflicting parses, impure, no locations ok |
| | 288 | 216: GLR: Merge conflicting parses, impure, locations ok |
| | 289 | 217: GLR: Merge conflicting parses, pure, no locations ok |
| | 290 | 218: GLR: Merge conflicting parses, pure, locations ok |
| | 291 | 219: GLR: Verbose messages, resolve ambiguity, impure, no locations ok |
| | 292 | |
| | 293 | GLR Regression Tests |
| | 294 | |
| | 295 | 220: Badly Collapsed GLR States ok |
| | 296 | 221: Improper handling of embedded actions and dollar(-N) in GLR parsers ok |
| | 297 | 222: Improper merging of GLR delayed action sets ok |
| | 298 | 223: Duplicate representation of merged trees ok |
| | 299 | 224: User destructor for unresolved GLR semantic value ok |
| | 300 | 225: User destructor after an error during a split parse ok |
| | 301 | 226: Duplicated user destructor for lookahead ok |
| | 302 | 227: Incorrectly initialized location for empty right-hand side in GLR ok |
| | 303 | 228: No users destructors if stack 0 deleted ok |
| | 304 | 229: Corrupted semantic options if user action cuts parse ok |
| | 305 | 230: Undesirable destructors if user action cuts parse ok |
| | 306 | 231: Leaked semantic values if user action cuts parse ok |
| | 307 | 232: Incorrect lookahead during deterministic GLR ok |
| | 308 | 233: Incorrect lookahead during nondeterministic GLR ok |
| | 309 | 234: Leaked semantic values when reporting ambiguity ok |
| | 310 | 235: Leaked lookahead after nondeterministic parse syntax error ok |
| | 311 | 236: Uninitialized location when reporting ambiguity ok |
| | 312 | 237: Missed %merge type warnings when LHS type is declared later ok |
| | 313 | |
| | 314 | Push Parsing Tests |
| | 315 | |
| | 316 | 238: Push Parsing: Memory Leak for Early Deletion ok |
| | 317 | 239: Push Parsing: Multiple impure instances ok |
| | 318 | 240: Push Parsing: Unsupported Skeletons ok |
| | 319 | |
| | 320 | ## ------------- ## |
| | 321 | ## Test results. ## |
| | 322 | ## ------------- ## |
| | 323 | |
| | 324 | ERROR: 219 tests were run, |
| | 325 | 7 failed unexpectedly. |
| | 326 | 21 tests were skipped. |
| | 327 | ## -------------------------- ## |
| | 328 | ## testsuite.log was created. ## |
| | 329 | ## -------------------------- ## |
| | 330 | |
| | 331 | Please send `tests/testsuite.log' and all information you think might help: |
| | 332 | |
| | 333 | To: <bug-bison@gnu.org> |
| | 334 | Subject: [GNU Bison 2.4.1] testsuite: 88 89 146 152 183 186 195 failed |
| | 335 | |
| | 336 | |
| | 337 | You may investigate any problem if you feel able to do so, in which |
| | 338 | case the test suite provides a good starting point. Its output may |
| | 339 | be found below `tests/testsuite.dir'. |
| | 340 | |
| | 341 | make[3]: *** [check-local] Error 1 |
| | 342 | make[3]: Leaving directory `/boot/home/bison-2.4/tests' |
| | 343 | make[2]: *** [check-am] Error 2 |
| | 344 | make[2]: Leaving directory `/boot/home/bison-2.4/tests' |
| | 345 | make[1]: *** [check-recursive] Error 1 |
| | 346 | make[1]: Leaving directory `/boot/home/bison-2.4' |
| | 347 | make: *** [check] Error 2 |
| | 348 | ~/bison-2.4> |
| | 349 | }}} |