# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #61044] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61044 >
Full output from "perl t/harness -v t/compilers/imcc/syn/macro.t" attached. Summary below. $ perl t/harness t/compilers/imcc/syn/macro.t t/compilers/imcc/syn/macro.t .. 25/38 # Failed test 'unterminated macro 2' # at t/compilers/imcc/syn/macro.t line 329. # '' # doesn't match '/End of file reached/ # ' # './parrot -D40 "/Users/ovid/code/parrot/t/compilers/imcc/syn/macro_25.pir"' failed with exit code [SIGNAL 11] t/compilers/imcc/syn/macro.t .. 26/38 # Looks like you failed 1 test of 38. t/compilers/imcc/syn/macro.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/38 subtests Test Summary Report ------------------- t/compilers/imcc/syn/macro.t (Wstat: 256 Tests: 38 Failed: 1) Failed test: 25 Non-zero exit status: 1 Files=1, Tests=38, 5 wallclock secs ( 0.03 usr 0.01 sys + 0.86 cusr 0.55 csys = 1.45 CPU) Result: FAIL $ svn info Path: . URL: https://svn.perl.org/parrot/trunk Repository Root: https://svn.perl.org/parrot Repository UUID: d31e2699-5ff4-0310-a27c-f18f2fbe73fe Revision: 33477 Node Kind: directory Schedule: normal Last Changed Author: jkeenan Last Changed Rev: 33477 Last Changed Date: 2008-12-04 03:14:21 +0000 (Thu, 04 Dec 2008) $ uname -a Darwin curtis-poes-computer-3.local 9.5.1 Darwin Kernel Version 9.5.1: Fri Sep 19 16:19:24 PDT 2008; root:xnu-1228.8.30~1/RELEASE_I386 i386 Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog - http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6
# Failed test 'macro, zero parameters' # at t/compilers/imcc/syn/macro.t line 15. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_1.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P0 # registers in .pasm: I0, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # 42 # ' # expected: '42 # ' # Failed test 'macro, one unused parameter, literal term' # at t/compilers/imcc/syn/macro.t line 28. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_2.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P0 # registers in .pasm: I0, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # 42 # ' # expected: '42 # ' # Failed test 'macro, one unused parameter, register term' # at t/compilers/imcc/syn/macro.t line 41. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_3.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I1, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I1, N0, S0, P0 # registers in .pasm: I1, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # 42 # ' # expected: '42 # ' # Failed test 'macro, one used parameter, literal' # at t/compilers/imcc/syn/macro.t line 55. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_4.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P0 # registers in .pasm: I0, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # 42 # ' # expected: '42 # ' # Failed test 'macro, one used parameter, register' # at t/compilers/imcc/syn/macro.t line 68. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_5.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I1, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I1, N0, S0, P0 # registers in .pasm: I1, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # 42 # ' # expected: '42 # ' # Failed test 'macro, one used parameter, called twice' # at t/compilers/imcc/syn/macro.t line 82. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_6.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I1, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I1, N0, S0, P0 # registers in .pasm: I1, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # 42 # 43 # ' # expected: '42 # 43 # ' # Failed test 'macro, one used parameter, label' # at t/compilers/imcc/syn/macro.t line 99. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_7.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I1, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I1, N0, S0, P0 # registers in .pasm: I1, N0, S0, P0 - 0 # 3 basic_blocks, 3 edges # 1 lines compiled. # Running... # 42 # ' # expected: '42 # ' # Failed test 'macro, one used parameter run thrice, label' # at t/compilers/imcc/syn/macro.t line 115. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_8.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I1, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I1, N0, S0, P0 # registers in .pasm: I1, N0, S0, P0 - 0 # 7 basic_blocks, 9 edges # 1 lines compiled. # Running... # 42 # 42 # ' # expected: '42 # 42 # ' # Failed test 'constant defined and used' # at t/compilers/imcc/syn/macro.t line 134. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_9.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P0 # registers in .pasm: I0, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # 32' # expected: '32' # Failed test 'constant defined and used' # at t/compilers/imcc/syn/macro.t line 142. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_10.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P0 # registers in .pasm: I0, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # foo' # expected: 'foo' # Failed test 'constant defined, used in a macro call' # at t/compilers/imcc/syn/macro.t line 150. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_11.pasm # using optimization '-O' (0) # Starting parse... # sub S0: # registers in .pir: I0, N0, S1, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S1, P0 # registers in .pasm: I0, N0, S1, P0 - 0 # 0 basic_blocks, 0 edges # 1 lines compiled. # Running... # foo' # expected: 'foo' # Failed test 'macro_const int in PIR' # at t/compilers/imcc/syn/macro.t line 161. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_12.pir # using optimization '-O' (0) # Starting parse... # sub main: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P0 # registers in .pasm: I0, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # 42' # expected: '42' # Failed test 'macro_const string in PIR' # at t/compilers/imcc/syn/macro.t line 168. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_13.pir # using optimization '-O' (0) # Starting parse... # sub main: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P0 # registers in .pasm: I0, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # Hello' # expected: 'Hello' # Failed test 'macro_const register in PIR' # at t/compilers/imcc/syn/macro.t line 175. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_14.pir # using optimization '-O' (0) # Starting parse... # sub main: # registers in .pir: I0, N0, S1, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S1, P0 # registers in .pasm: I0, N0, S1, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # Hello' # expected: 'Hello' # Failed test 'basic include macro' # at t/compilers/imcc/syn/macro.t line 197. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_16.pasm # using optimization '-O' (0) # Starting parse... # sub S0: # registers in .pir: I0, N0, S1, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S1, P0 # registers in .pasm: I0, N0, S1, P0 - 0 # 0 basic_blocks, 0 edges # 1 lines compiled. # Running... # Betelgeuse # Betelgeuse # ' # expected: 'Betelgeuse # Betelgeuse # ' # Failed test 'include a file defining a macro' # at t/compilers/imcc/syn/macro.t line 223. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_17.pasm # using optimization '-O' (0) # Starting parse... # sub P0: # registers in .pir: I0, N0, S0, P3 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P3 # registers in .pasm: I0, N0, S0, P3 - 3 # 0 basic_blocks, 0 edges # 1 lines compiled. # Running... # 156 # ' # expected: '156 # ' # Failed test '.newid' # at t/compilers/imcc/syn/macro.t line 235. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_18.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S0, P1 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P1 # registers in .pasm: I0, N0, S0, P1 - 1 # 2 basic_blocks, 1 edges # 1 lines compiled. # Running... # 10 # ' # expected: '10 # ' # Failed test '.newlex' # at t/compilers/imcc/syn/macro.t line 251. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_19.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S0, P1 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P1 # registers in .pasm: I0, N0, S0, P1 - 1 # 2 basic_blocks, 1 edges # 1 lines compiled. # Running... # 10 # ' # expected: '10 # ' # Failed test 'ok param count' # at t/compilers/imcc/syn/macro.t line 294. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_22.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P0 # registers in .pasm: I0, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # fine # ' # expected: 'fine # ' # Failed test 'unterminated macro 2' # at t/compilers/imcc/syn/macro.t line 329. # 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_25.pir # using optimization '-O' (0) # Starting parse... # ' # doesn't match '/End of file reached/ # ' # './parrot -D40 -v "/Users/ovid/code/parrot/t/compilers/imcc/syn/macro_25.pir"' failed with exit code [SIGNAL 11] # Failed test 'braces in param' # at t/compilers/imcc/syn/macro.t line 401. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_31.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S1, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S1, P0 # registers in .pasm: I0, N0, S1, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # foo # ' # expected: 'foo # ' # Failed test 'braces and comma, with a newline in param' # at t/compilers/imcc/syn/macro.t line 414. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_32.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S1, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S1, P0 # registers in .pasm: I0, N0, S1, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # bar # ' # expected: 'bar # ' # Failed test 'braces and parenthesis in param' # at t/compilers/imcc/syn/macro.t line 428. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_33.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P1 # registers in .pasm: I0, N0, S0, P1 - 0 # 2 basic_blocks, 1 edges # sub foo: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P0 # registers in .pasm: I0, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # foo # ' # expected: 'foo # ' # Failed test 'test that macros labels names can have the prefix $' # at t/compilers/imcc/syn/macro.t line 444. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_34.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P0 # registers in .pasm: I0, N0, S0, P0 - 0 # 3 basic_blocks, 1 edges # 1 lines compiled. # Running... # print this # ' # expected: 'print this # ' # Failed test 'test that macros labels names can have the prefix $' # at t/compilers/imcc/syn/macro.t line 459. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_35.pir # using optimization '-O' (0) # Starting parse... # sub test: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P0 # registers in .pasm: I0, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # ' # expected: '' # Failed test 'call a sub in a macro' # at t/compilers/imcc/syn/macro.t line 482. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_37.pir # using optimization '-O' (0) # Starting parse... # sub main: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P2 # registers in .pasm: I0, N0, S0, P2 - 0 # 3 basic_blocks, 2 edges # sub print_abc: # registers in .pir: I0, N0, S0, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P0 # registers in .pasm: I0, N0, S0, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # abc # entering macro call_sub # abc # leaving macro call_sub # ' # expected: 'abc # entering macro call_sub # abc # leaving macro call_sub # ' # Failed test 'set a sub as an attribute, in a macro' # at t/compilers/imcc/syn/macro.t line 504. # got: 'debug = 0x0 # Reading /Users/ovid/code/parrot/t/compilers/imcc/syn/macro_38.pir # using optimization '-O' (0) # Starting parse... # sub main: # registers in .pir: I0, N0, S0, P7 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S0, P8 # registers in .pasm: I0, N0, S0, P8 - 7 # 7 basic_blocks, 6 edges # sub say_twice: # registers in .pir: I0, N0, S1, P0 # 0 labels, 0 lines deleted, 0 if_branch, 0 branch_branch # 0 branch_cond_loop # 0 used once deleted # 0 invariants_moved # registers needed: I0, N0, S1, P0 # registers in .pasm: I0, N0, S1, P0 - 0 # 1 basic_blocks, 0 edges # 1 lines compiled. # Running... # say_twice say_twice # entering macro create_inst # leaving macro create_inst # my_func_1 my_func_1 # entering macro create_inst # leaving macro create_inst # my_func_2 my_func_2 # ' # expected: 'say_twice say_twice # entering macro create_inst # leaving macro create_inst # my_func_1 my_func_1 # entering macro create_inst # leaving macro create_inst # my_func_2 my_func_2 # ' # Looks like you failed 27 tests of 38. t/compilers/imcc/syn/macro.t .. Dubious, test returned 27 (wstat 6912, 0x1b00) Failed 27/38 subtests Test Summary Report ------------------- t/compilers/imcc/syn/macro.t (Wstat: 6912 Tests: 38 Failed: 27) Failed tests: 1-14, 16-19, 22, 25, 31-35, 37-38 Non-zero exit status: 27 Files=1, Tests=38, 6 wallclock secs ( 0.03 usr 0.01 sys + 0.87 cusr 0.56 csys = 1.47 CPU) Result: FAIL