#228: t/pmc/sub fails with runcore PBC
-----------------------+----------------------------------------------------
Reporter: dmajnemer | Type: bug
Status: new | Priority: normal
Milestone: | Component: core
Version: trunk | Severity: medium
Keywords: | Lang:
Patch: | Platform: linux
-----------------------+----------------------------------------------------
Changes (by jkeenan):
* component: none => core
Comment:
Replying to [ticket:228 dmajnemer]:
{{{
> perl t/harness --gc-debug --running-make-test -r t/pmc/sub.t
>
> {{{
> t/pmc/sub....NOK 63/64
> # Failed test ':outer with identical sub names'
> # at t/pmc/sub.t line 1462.
}}}
This test appears to have been `TODO`-ed out -- but with a message
pointing to TT #1171!
{{{
1440 $ENV{TEST_PROG_ARGS} ||= '';
1441 @todo = $ENV{TEST_PROG_ARGS} =~ /--run-pbc/
1442 ? ( todo => 'lexicals not thawed properly from PBC, TT #1171' )
1443 : ();
1444 pir_output_is( <<'CODE', <<'OUTPUT', ':outer with identical sub
names', @to do );
1445 .sub 'main' :main
1446 $P0 = get_hll_global ['ABC'], 'outer'
1447 $P0('ABC lex')
1448
1449 $P0 = get_hll_global ['DEF'], 'outer'
1450 $P0('DEF lex')
1451 .end
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/228#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets