[perl #39939] [TODO] exhaustively test new {set, get}*global and get*namespace opcodes

Christoph Otto via RT parrotbug-followup at parrotcode.org
Sat Apr 18 07:22:54 UTC 2009


On Mon Mar 17 19:19:22 2008, jkeen at verizon.net wrote:
> This ticket hasn't been touched in going on two years, but it was
> phrased very generally.
> 
> Can anyone provide a description of the opcodes that would need testing
> and/or how far we've gotten?
> 
> Thank you very much.
> 
> kid51

After looking at some reasonably recent (r37626) test coverage results,
it looks like the following versions of the relevant opcodes in
src/ops/var.ops do *not* have test coverage:
get_hll_namespace(out PMC)
get_root_global(out PMC, in STR)
set_root_global(in STR, invar PMC)

However, it looks like the functions that are called by these opcodes
have adequate test coverage and will behave unsurprisingly if they're
ever used.  I propose marking this ticket resolved.


More information about the parrot-dev mailing list