bug-bison
[Top][All Lists]
Advanced

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

Bison 2.0 test suite on Mac OS X.3.8


From: Hans Aberg
Subject: Bison 2.0 test suite on Mac OS X.3.8
Date: Sun, 20 Mar 2005 14:41:40 +0100

I got many failures when running bison-2.0 test suite on Mac OS X.3.8. It could be due to that other software supplied with this OS is old. Which scanner (Flex/Yacc) and compiler (GCC), including versions, does this test suite expect to run?

I also found a bug in the test suite, when the path name of directory contains a space. Then the test suite files to put in suitable escapes "\ " for these spaces when attempting to make a new directory.

Last login: Sun Mar 20 13:59:49 on ttyp4
Welcome to Darwin!
Hans-Abergs-Computer:~ haberg$ cd D
Desktop      Development  Documents
Hans-Abergs-Computer:~ haberg$ cd Development/bison-2.0/
Hans-Abergs-Computer:~/Development/bison-2.0 haberg$ make check
Making check in config
make[1]: Nothing to be done for `check'.
Making check in po
make[1]: Nothing to be done for `check'.
Making check in lib
make  check-am
make[2]: Nothing to be done for `check-am'.
Making check in data
make[1]: Nothing to be done for `check'.
Making check in src
make  check-am
make[2]: Nothing to be done for `check-am'.
Making check in doc
make[1]: Nothing to be done for `check'.
Making check in tests
make  bison
make[2]: `bison' is up to date.
make  check-local
/bin/sh ./testsuite
## ------------------------- ##
## GNU Bison 2.0 test suite. ##
## ------------------------- ##

Input Processing.

  1: Invalid $n                                  ok
  2: Invalid @n                                   ok
  3: Type Clashes                                 ok
  4: Incompatible Aliases                         ok
  5: Torturing the Scanner                        FAILED (input.at:267)

Output file names.

  6: Output files:  & -dv.                        ok
  7: Output files:  & -dv -o foo.c.               ok
  8: Output files:  & -dv -o foo.tab.c.           ok
  9: Output files:  & -dv -y.                     ok
 10: Output files:  & -dv -b bar.                 ok
 11: Output files:  & -dv -g -o foo.c.            ok
 12: Output files: %defines %verbose & .          ok
 13: Output files: %defines %verbose %yacc & .    ok
 14: Output files: %defines %verbose %yacc & .    ok
 15: Output files: %file-prefix=bar %defines %verbose & .ok
 16: Output files: %output=bar.c %defines %verbose %yacc & .ok
 17: Output files: %file-prefix=baz %output=bar.c %defines %verbose %yacc & .ok
 18: Output files: %defines %verbose & .          ok
 19: Output files: %defines %verbose  & -o foo.c. ok
 20: Output files:  & --defines=foo.hpp -o foo.c++.ok
 21: Output files:  & -o foo.c++ --graph=foo.gph. ok

Grammar Sets (Firsts etc.).

 22: Nullable                                     ok
 23: Broken Closure                               ok
 24: Firsts                                       ok

Grammar Reduction.

 25: Useless Terminals                            ok
 26: Useless Nonterminals                         ok
 27: Useless Rules                                ok
 28: Reduced Automaton                            ok
 29: Underivable Rules                            ok
 30: Empty Language                               ok

User Actions.

 31: Prologue synch line                          skipped (synclines.at:93)
 32: %union synch line                            skipped (synclines.at:113)
 33: Postprologue synch line                      skipped (synclines.at:136)
 34: Action synch line                            skipped (synclines.at:155)
 35: Epilogue synch line                          skipped (synclines.at:173)

Parser Headers.

 36: %union and --defines                         ok
 37: Invalid CPP guards: input/input              ok
 38: Invalid CPP guards: 9foo                     ok
 39: export YYLTYPE                               FAILED (headers.at:131)

User Actions.

 40: Mid-rule actions                             FAILED (actions.at:76)
 41: Exotic Dollars                               FAILED (actions.at:149)
 42: Printers and Destructors :                   FAILED (actions.at:465)
 43: Printers and Destructors with union:         FAILED (actions.at:466)
44: Printers and Destructors : %defines %skeleton lalr1.ccFAILED (actions.at:471) 45: Printers and Destructors with union: %defines %skeleton lalr1.ccFAILED (actions.at:472)
 46: Printers and Destructors : %glr-parser       FAILED (actions.at:474)
 47: Printers and Destructors with union: %glr-parserFAILED (actions.at:475)

Conflicts.

 48: S/R in initial                               ok
 49: %nonassoc and eof                            FAILED (conflicts.at:102)
 50: Unresolved SR Conflicts                      ok
 51: Resolved SR Conflicts                        ok
 52: Defaulted Conflicted Reduction               ok
 53: %expect not enough                           ok
 54: %expect right                                ok
 55: %expect too much                             ok
 56: %expect with reduce conflicts                ok
 57: %no-default-prec without %prec               ok
 58: %no-default-prec with %prec                  ok
 59: %default-prec                                ok

Simple LALR Calculator.

 60: Calculator                                   FAILED (calc.at:535)
 61: Calculator %defines                          FAILED (calc.at:537)
 62: Calculator %locations                        FAILED (calc.at:538)
 63: Calculator %name-prefix=calc               FAILED (calc.at:539)
 64: Calculator %verbose                          FAILED (calc.at:540)
 65: Calculator %yacc                             FAILED (calc.at:541)
 66: Calculator %error-verbose                    FAILED (calc.at:542)
 67: Calculator %pure-parser %locations           FAILED (calc.at:544)
 68: Calculator %error-verbose %locations         FAILED (calc.at:545)
69: Calculator %error-verbose %locations %defines %name-prefix=calc %verbose %yaccFAILED (calc.at:547)
 70: Calculator %debug                            FAILED (calc.at:549)
71: Calculator %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yaccFAILED (calc.at:550) 72: Calculator %pure-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yaccFAILED (calc.at:552) 73: Calculator %pure-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count}FAILED (calc.at:554)

Simple GLR Calculator.

 74: Calculator %glr-parser                       FAILED (calc.at:571)
 75: Calculator %glr-parser %defines              FAILED (calc.at:573)
 76: Calculator %glr-parser %locations            FAILED (calc.at:574)
 77: Calculator %glr-parser %name-prefix=calc   FAILED (calc.at:575)
 78: Calculator %glr-parser %verbose              FAILED (calc.at:576)
 79: Calculator %glr-parser %yacc                 FAILED (calc.at:577)
 80: Calculator %glr-parser %error-verbose        FAILED (calc.at:578)
 81: Calculator %glr-parser %pure-parser %locationsFAILED (calc.at:580)
 82: Calculator %glr-parser %error-verbose %locationsFAILED (calc.at:581)
83: Calculator %glr-parser %error-verbose %locations %defines %name-prefix=calc %verbose %yaccFAILED (calc.at:583)
 84: Calculator %glr-parser %debug                FAILED (calc.at:585)
85: Calculator %glr-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yaccFAILED (calc.at:586) 86: Calculator %glr-parser %pure-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yaccFAILED (calc.at:588) 87: Calculator %glr-parser %pure-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count}FAILED (calc.at:590)

Simple LALR1 C++ Calculator.

 88: Calculator %skeleton lalr1.cc %defines %locationsFAILED (calc.at:608)
 89: Calculator %skeleton lalr1.cc %defines     FAILED (calc.at:610)
90: Calculator %skeleton lalr1.cc %error-verbose %locations %defines %name-prefix=calc %verbose %yaccFAILED (calc.at:620) 91: Calculator %skeleton lalr1.cc %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yaccFAILED (calc.at:623) 92: Calculator %skeleton lalr1.cc %pure-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yaccFAILED (calc.at:625) 93: 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}FAILED (calc.at:627)

Torture Tests.

 94: Big triangle                                 FAILED (torture.at:148)
 95: Big horizontal                               FAILED (torture.at:252)
 96: Many look-ahead tokens                       FAILED (torture.at:375)
 97: Exploding the Stack Size with Alloca         FAILED (torture.at:446)
 98: Exploding the Stack Size with Malloc         FAILED (torture.at:467)

Existing Grammars.

 99: GNU AWK Grammar                              ok
100: GNU Cim Grammar                              ok
101: GNU pic Grammar                              ok

Regression tests.

102: Early token definitions                      FAILED (regression.at:54)
103: Braces parsing                               ok
104: Duplicate string                             ok
105: Rule Line Numbers                            ok
106: Mixing %token styles                         ok
107: Invalid inputs                               ok
108: Token definitions                            FAILED (regression.at:330)
109: Characters Escapes                           FAILED (regression.at:357)
110: Web2c Report                                 ok
111: Web2c Actions                                ok
112: Dancer                                       FAILED (regression.at:790)
113: Dancer %glr-parser                           FAILED (regression.at:791)
114: Dancer %skeleton lalr1.cc                  FAILED (regression.at:792)

C++ Features.

115: Doxygen Public Documentation                 skipped (c++.at:102)
116: Doxygen Private Documentation                skipped (c++.at:103)

C++ Type Syntax (GLR).

117: GLR: Resolve ambiguity, impure, no locations FAILED (cxx-type.at:318)
118: GLR: Resolve ambiguity, impure, locations    FAILED (cxx-type.at:324)
119: GLR: Resolve ambiguity, pure, no locations   FAILED (cxx-type.at:331)
120: GLR: Resolve ambiguity, pure, locations      FAILED (cxx-type.at:338)
121: GLR: Merge conflicting parses, impure, no locationsFAILED (cxx-type.at:345)
122: GLR: Merge conflicting parses, impure, locationsFAILED (cxx-type.at:352)
123: GLR: Merge conflicting parses, pure, no locationsFAILED (cxx-type.at:359)
124: GLR: Merge conflicting parses, pure, locationsFAILED (cxx-type.at:365)
125: GLR: Verbose messages, resolve ambiguity, impure, no locationsFAILED (cxx-type.at:372)

GLR Regression Tests

126: Badly Collapsed GLR States                   FAILED (glr-regression.at:98)
127: Improper handling of embedded actions and hBN in GLR parsersFAILED (glr-regression.at:207)

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

ERROR: 120 tests were run,
67 failed unexpectedly.
7 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

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

   To: <address@hidden>
Subject: [GNU Bison 2.0] testsuite: 5 39 40 41 42 43 44 45 46 47 49 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 102 108 109 112 113 114 117 118 119 120 121 122 123 124 125 126 127 failed


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

make[2]: *** [check-local] Error 1
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1
Hans-Abergs-Computer:~/Development/bison-2.0 haberg$






reply via email to

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