On Mon, 27 Feb 2006, Allison Randal via RT wrote: > > It looks like 'node.set_node' doesn't actually end up doing > > anything. > > Andy, could you try this again on the 0.4.2 release of Parrot? I cleaned > up the method declaration syntax just before the release. It might help.
I haven't done a detailed comparison, but I don't see any significant change. Here's what I end up with: perl5.6 -Ilib t/harness t/*.t t/base_cond....ok t/base_if......ok t/base_lex.....ok t/base_pat.....ok t/base_term....ok t/io_print.....ok t/op_do........ok t/op_goto......ok t/op_math......ok t/op_string....ok t/past......... # Failed test (t/past.t at line 44) # got: '1 # 1 # bar # ' # expected: 'foo # 42 # bar # ' # Failed test (t/past.t at line 44) # got: '1 # 1 # bar # ' # expected: 'foo # 42 # bar # ' # Failed test (t/past.t at line 44) # got: '1 # 1 # bar # ' # expected: 'foo # 42 # bar # ' # Failed test (t/past.t at line 44) # got: '1 # 1 # bar # ' # expected: 'foo # 42 # bar # ' # Failed test (t/past.t at line 44) # got: '1 # 1 # bar # ' # expected: 'foo # 42 # bar # ' # Failed test (t/past.t at line 44) # got: '1 # 1 # bar # ' # expected: 'foo # 42 # bar # ' # Looks like you failed 6 tests of 7. dubious Test returned status 6 (wstat 1536, 0x600) DIED. FAILED tests 2-7 Failed 6/7 tests, 14.29% okay t/past_node....ok t/past_op...... # Failed test (t/past_op.t at line 7) # got: '42 # 42 # bar # ' # expected: 'foo # 42 # bar # ' # Failed test (t/past_op.t at line 30) # got: '<PAST::Op> => { # 'source' => '42', # 'pos' => '42', # 'op' => 'bar', # 'children' => [ # elements() not implemented in class 'PerlInt' # current instr.: 'PAST::Node :: dump_children' pc 233 (/home/doughera/src/parrot/parrot-andy/./languages/punie/lib/PAST/Node.pir:120) # called from Sub 'PAST::Op :: dump' pc 113 (/home/doughera/src/parrot/parrot-andy/./languages/punie/lib/PAST/Op.pir:56) # called from Sub '_main' pc 21 (/home/doughera/src/parrot/parrot-andy/languages/punie/t/past_op_2.pir:6) # ' # expected: '<PAST::Op> => { # 'source' => 'foo', # 'pos' => '42', # 'op' => 'bar', # 'children' => [] # } # ' # './parrot "/home/doughera/src/parrot/parrot-andy/languages/punie/t/past_op_2.pir"' failed with exit code 1 # Looks like you failed 2 tests of 2. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/past_val..... # Failed test (t/past_val.t at line 7) # got: '42 # 42 # bar # ' # expected: 'foo # 42 # bar # ' # Failed test (t/past_val.t at line 30) # got: '<PAST::Val> => { # 'source' => '42', # 'pos' => '42', # 'value' => 'bar', # 'valtype' => undef, # } # ' # expected: '<PAST::Val> => { # 'source' => 'foo', # 'pos' => '42', # 'value' => 'bar', # 'valtype' => undef, # } # ' # Looks like you failed 2 tests of 2. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/post......... # Failed test (t/post.t at line 44) # got: '1 # 1 # bar # ' # expected: 'foo # 42 # bar # ' # Failed test (t/post.t at line 44) # got: '1 # 1 # bar # ' # expected: 'foo # 42 # bar # ' # Looks like you failed 2 tests of 3. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 2-3 Failed 2/3 tests, 33.33% okay t/post_node....ok t/post_op...... # Failed test (t/post_op.t at line 7) # got: '42 # 42 # bar # ' # expected: 'foo # 42 # bar # ' # Failed test (t/post_op.t at line 30) # got: '<POST::Op> => { # 'source' => '42', # 'pos' => '42', # 'op' => 'bar', # 'children' => [ # elements() not implemented in class 'PerlInt' # current instr.: 'POST::Node :: dump_children' pc 233 (/home/doughera/src/parrot/parrot-andy/./languages/punie/lib/POST/Node.pir:121) # called from Sub 'POST::Op :: dump' pc 113 (/home/doughera/src/parrot/parrot-andy/./languages/punie/lib/POST/Op.pir:56) # called from Sub '_main' pc 21 (/home/doughera/src/parrot/parrot-andy/languages/punie/t/post_op_2.pir:6) # ' # expected: '<POST::Op> => { # 'source' => 'foo', # 'pos' => '42', # 'op' => 'bar', # 'children' => [] # } # ' # './parrot "/home/doughera/src/parrot/parrot-andy/languages/punie/t/post_op_2.pir"' failed with exit code 1 # Looks like you failed 2 tests of 2. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/post_val..... # Failed test (t/post_val.t at line 7) # got: '42 # 42 # bar # ' # expected: 'foo # 42 # bar # ' # Failed test (t/post_val.t at line 30) # got: '<POST::Val> => { # 'source' => '42', # 'pos' => '42', # 'value' => 'bar', # 'valtype' => undef, # } # ' # expected: '<POST::Val> => { # 'source' => 'foo', # 'pos' => '42', # 'value' => 'bar', # 'valtype' => undef, # } # ' # Looks like you failed 2 tests of 2. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/post_var..... # Failed test (t/post_var.t at line 7) # got: '42 # 42 # bar # ' # expected: 'foo # 42 # bar # ' # Failed test (t/post_var.t at line 30) # got: '<POST::Var> => { # 'source' => '42', # 'pos' => '42', # 'varname' => 'bar', # } # ' # expected: '<POST::Var> => { # 'source' => 'foo', # 'pos' => '42', # 'varname' => 'bar', # } # ' # Looks like you failed 2 tests of 2. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay Failed 7/19 test scripts, 63.16% okay. 18/55 subtests failed, 67.27% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/past.t 6 1536 7 6 85.71% 2-7 t/past_op.t 2 512 2 2 100.00% 1-2 t/past_val.t 2 512 2 2 100.00% 1-2 t/post.t 2 512 3 2 66.67% 2-3 t/post_op.t 2 512 2 2 100.00% 1-2 t/post_val.t 2 512 2 2 100.00% 1-2 t/post_var.t 2 512 2 2 100.00% 1-2 *** Error code 2 make: Fatal error: Command failed for target `test' -- Andy Dougherty [EMAIL PROTECTED]