bug-bison
[Top][All Lists]
Advanced

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

new test failures


From: Jim Meyering
Subject: new test failures
Date: Fri, 17 Feb 2012 08:53:45 +0100

Hi Akim,

It looks like you're adding tests, and once I got past
the link failure (missing -lm) I see they're failing.
Presuming you're still working there, I'll simply
post the test-suite.log file:

====================================================
   GNU Bison 2.4.669-c119-dirty: ./test-suite.log
====================================================

# TOTAL: 2
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: examples/calc++/test
==========================

--(end of buffer or a NUL)
--accepting rule at line 46 ("1")
--accepting rule at line 39 ("+")
--accepting rule at line 46 ("2")
--accepting rule at line 40 ("*")
--accepting rule at line 46 ("3")
--accepting rule at line 36 ("
")
--accepting rule at line 54 ("=")
2.1: invalid character
--accepting rule at line 35 (" ")
--accepting rule at line 46 ("1")
2.3: syntax error, unexpected number, expecting end of file
test: FAIL:  1 (expected status: 0, effective: 1
1.1: syntax error, unexpected end of file, expecting ( or identifier or number
test: FAIL:  2 (expected status: 0, effective: 1
Starting parse
Entering state 0
Reducing stack by rule 3 (line 9826):
-> $$ = nterm assignments (-:1.1: )
Stack now 0
Entering state 2
Reading a token: Next token is token "(" (1.1: )
Shifting token "(" (1.1: )
Entering state 4
Reading a token: Next token is token "number" (1.2: 1)
Shifting token "number" (1.2: 1)
Entering state 6
Reducing stack by rule 11 (line 9840):
   $1 = token "number" (1.2: 1)
-> $$ = nterm exp (1.2: 1)
Stack now 0 2 4
Entering state 10
Reading a token: Next token is token "+" (1.3: )
Shifting token "+" (1.3: )
Entering state 13
Reading a token: Next token is token "number" (1.4: 2)
Shifting token "number" (1.4: 2)
Entering state 6
Reducing stack by rule 11 (line 9840):
   $1 = token "number" (1.4: 2)
-> $$ = nterm exp (1.4: 2)
Stack now 0 2 4 10 13
Entering state 19
Reading a token: Next token is token ")" (1.5: )
Reducing stack by rule 5 (line 9834):
   $1 = nterm exp (1.2: 1)
   $2 = token "+" (1.3: )
   $3 = nterm exp (1.4: 2)
-> $$ = nterm exp (1.2-4: 3)
Stack now 0 2 4
Entering state 10
Next token is token ")" (1.5: )
Shifting token ")" (1.5: )
Entering state 16
Reducing stack by rule 9 (line 9838):
   $1 = token "(" (1.1: )
   $2 = nterm exp (1.2-4: 3)
   $3 = token ")" (1.5: )
-> $$ = nterm exp (1.1-5: 3)
Stack now 0 2
Entering state 8
Reading a token: Next token is token "*" (1.7: )
Shifting token "*" (1.7: )
Entering state 14
Reading a token: Next token is token "number" (1.9: 3)
Shifting token "number" (1.9: 3)
Entering state 6
Reducing stack by rule 11 (line 9840):
   $1 = token "number" (1.9: 3)
-> $$ = nterm exp (1.9: 3)
Stack now 0 2 8 14
Entering state 20
Reducing stack by rule 7 (line 9836):
   $1 = nterm exp (1.1-5: 3)
   $2 = token "*" (1.7: )
   $3 = nterm exp (1.9: 3)
-> $$ = nterm exp (1.1-9: 9)
Stack now 0 2
Entering state 8
Reading a token: Next token is token "end of file" (2.1: )
Reducing stack by rule 1 (line 9822):
   $1 = nterm assignments (-:1.1: )
   $2 = nterm exp (1.1-9: 9)
-> $$ = nterm unit (-:1.1-9: )
Stack now 0
Entering state 1
Next token is token "end of file" (2.1: )
Shifting token "end of file" (2.1: )
Entering state 3
Cleanup: popping token "end of file" (2.1: )
Cleanup: popping nterm unit (-:1.1-9: )
cat: out_eff: No such file or directory
test: FAIL:  3 (expected output: 7, effective:
test: PASS:  4
3.1: syntax error, unexpected end of file, expecting ( or identifier or number
test: PASS:  5

FAIL: examples/mfcalc/test
==========================

syntax error
test: FAIL:  1 (expected output: 7, effective: 7
0
syntax error
test: FAIL:  2 (expected output: 7, effective: 7
0
test: FAIL:  3 (expected output: 9, effective:



reply via email to

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