Attached patch fix some failed tests in F<t/compilers/tge/grammar.t>
when run C<make fulltest>:
t/compilers/tge/grammar..............
# Failed test (t/compilers/tge/grammar.t at line 28)
# got: 'too few arguments passed (2) - 3 params expected
# current instr.: 'parrot;TGE::Compiler;precompile' pc 623
# (TGE/Compiler.pir:272)
# called from Sub 'parrot;TGE::Compiler;compile' pc 741
# (TGE/Compiler.pir:326)
# called from Sub '_main' pc 15
# (/home/lee/parrot/working/t/compilers/tge/grammar_1.pir:17)
# '
# expected: 'AnonGrammar
# TreeMin
# TreeMin
# '
# './parrot -D40 -b --gc-debug
# "/home/lee/parrot/working/t/compilers/tge/grammar_1.pir"' failed with
# exit code 1
t/compilers/tge/grammar..............NOK 2/3
# Failed test (t/compilers/tge/grammar.t at line 67)
# got: 'too few arguments passed (2) - 3 params expected
# current instr.: 'parrot;TGE::Compiler;precompile' pc 623
# (TGE/Compiler.pir:272)
# called from Sub 'parrot;TGE::Compiler;compile' pc 741
# (TGE/Compiler.pir:326)
# called from Sub '_main' pc 18
# (/home/lee/parrot/working/t/compilers/tge/grammar_2.pir:86)
# '
# expected: 'the global minimum attribute value is: 1 of type:
# Integer
# before transform, the value of the left-most leaf is: 2
# after transform, the value of the left-most leaf is: 1
# before transform, the value of the right-most leaf is: 9
# after transform, the value of the right-most leaf is: 1
# '
# './parrot -D40 -b --gc-debug
# "/home/lee/parrot/working/t/compilers/tge/grammar_2.pir"' failed with
# exit code 1
# Looks like you failed 2 tests of 3.
t/compilers/tge/grammar..............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-2
Failed 2/3 tests, 33.33% okay
Could you verify that the bug exists in the latest revision?
I'm not seeing the error when I run the tge tests (and I
think this particular bug was fixed in r16520).
Thanks!
Pm