[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Java-related Bison tests all fail
From: |
Paul Eggert |
Subject: |
Java-related Bison tests all fail |
Date: |
Sat, 03 Feb 2007 23:24:12 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
This is on Debian stable, with GCC 4.1.1 installed by hand, when
testing the latest Bison CVS. Any clues as to what I'm doing wrong?
It could be a misinstallation of GCC, but if I do it wrong others are
likely too.
662-penguin $ ./testsuite -v -d 177 178 179 180
## --------------------------- ##
## GNU Bison 2.3a+ test suite. ##
## --------------------------- ##
Java Calculator.
177. java.at:308: testing ...
./java.at:308: bison -o Calc.java Calc.y
./java.at:308: test -n "$CONF_JAVA$CONF_JAVAC" || exit 77
./java.at:308: $SHELL ../../../javacomp.sh Calc.java
stderr:
stdout:
./java.at:308: $SHELL ../../../javaexec.sh Calc < input
stderr:
./java.at:308: $SHELL ../../../javaexec.sh Calc < input
stderr:
1: syntax error
Exception in thread "main" java.lang.IllegalAccessError: Calc: Calc$Stack.height
at Calc.parse(Calc.java:731)
at Calc.main(Calc.java:1081)
./java.at:308: exit code was 1, expected 0
177. java.at:308: FAILED (java.at:308)
178. java.at:308: testing ...
./java.at:308: bison -o Calc.java Calc.y
./java.at:308: test -n "$CONF_JAVA$CONF_JAVAC" || exit 77
./java.at:308: $SHELL ../../../javacomp.sh Calc.java
stderr:
stdout:
./java.at:308: $SHELL ../../../javaexec.sh Calc < input
stderr:
./java.at:308: $SHELL ../../../javaexec.sh Calc < input
stderr:
1: syntax error, unexpected number
Exception in thread "main" java.lang.IllegalAccessError: Calc: Calc$Stack.height
at Calc.parse(Calc.java:731)
at Calc.main(Calc.java:1081)
./java.at:308: exit code was 1, expected 0
178. java.at:308: FAILED (java.at:308)
179. java.at:360: testing ...
./java.at:360: bison -o Calc.java Calc.y
./java.at:360: test -n "$CONF_JAVA$CONF_JAVAC" || exit 77
./java.at:360: $SHELL ../../../javacomp.sh Calc.java
stderr:
Calc.java:107: warning: Discouraged redundant use of `abstract' modifier in
declaration of abstract method `yylex'.
abstract int yylex () throws java.io.IOException;
^
Calc.java:117: warning: Discouraged redundant use of `abstract' modifier in
declaration of abstract method `yyerror'.
abstract void yyerror (String s);
^
2 warnings
stdout:
./java.at:360: $SHELL ../../../javaexec.sh Calc < input
stderr:
./java.at:360: $SHELL ../../../javaexec.sh Calc < input
stderr:
syntax error
Exception in thread "main" java.lang.IllegalAccessError: Calc: Calc$Stack.height
at Calc.parse(Calc.java:680)
at Calc.main(Calc.java:981)
./java.at:360: exit code was 1, expected 0
179. java.at:360: FAILED (java.at:360)
180. java.at:360: testing ...
./java.at:360: bison -o Calc.java Calc.y
./java.at:360: test -n "$CONF_JAVA$CONF_JAVAC" || exit 77
./java.at:360: $SHELL ../../../javacomp.sh Calc.java
stderr:
Calc.java:107: warning: Discouraged redundant use of `abstract' modifier in
declaration of abstract method `yylex'.
abstract int yylex () throws java.io.IOException;
^
Calc.java:117: warning: Discouraged redundant use of `abstract' modifier in
declaration of abstract method `yyerror'.
abstract void yyerror (String s);
^
2 warnings
stdout:
./java.at:360: $SHELL ../../../javaexec.sh Calc < input
stderr:
./java.at:360: $SHELL ../../../javaexec.sh Calc < input
stderr:
syntax error, unexpected number
Exception in thread "main" java.lang.IllegalAccessError: Calc: Calc$Stack.height
at Calc.parse(Calc.java:680)
at Calc.main(Calc.java:981)
./java.at:360: exit code was 1, expected 0
180. java.at:360: FAILED (java.at:360)
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: All 4 tests were run,
4 failed unexpectedly.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##
Please send `tests/testsuite.log' and all information you think might help:
To: <address@hidden>
Subject: [GNU Bison 2.3a+] testsuite: 177 178 179 180 failed
- Java-related Bison tests all fail,
Paul Eggert <=
- Re: Java-related Bison tests all fail, Joel E. Denny, 2007/02/07
- Message not available
- Re: Java-related Bison tests all fail, Joel E. Denny, 2007/02/07
- Message not available
- Re: Java-related Bison tests all fail, Joel E. Denny, 2007/02/07
- Message not available
- Re: Java-related Bison tests all fail, Joel E. Denny, 2007/02/09
- Re: Java-related Bison tests all fail, Bruno Haible, 2007/02/10
- Re: Java-related Bison tests all fail, Joel E. Denny, 2007/02/10
- Re: Java-related Bison tests all fail, Bruno Haible, 2007/02/10
- Re: Java-related Bison tests all fail, Joel E. Denny, 2007/02/10
- Re: Java-related Bison tests all fail, Joel E. Denny, 2007/02/10
- Re: Java-related Bison tests all fail, Bruno Haible, 2007/02/10