tools/dev/ops_not_tested.pl: Can it be removed?

James E Keenan jkeen at verizon.net
Sat Aug 21 22:04:10 UTC 2010


In the course of working on http://trac.parrot.org/parrot/ticket/677, I 
had occasion to check the function and current status of various Perl 5 
programs in 'tools/dev'.  'ops_not_tested.pl' was one I had never 
noticed before.  Growing out of an IRC conversation between Leo and 
toor, 'ops_not_tested.pl' was contributed in September 2006 by Ruben 
Fonseca and was intended to identify opcodes not used or tested.

Test coverage++!

There's only one problem:  The program relies on a build structure we 
have since jettisoned:

   $> perl tools/dev/ops_not_tested.pl
   Can't locate Parrot/Op.pm in @INC

I suspect this module went away when 'ops2c' was converted from Perl 5 
to NQP.

Could anyone who was involved with that overhaul of 'ops2c' take a look 
at this program and see whether it could be brought up-to-date and 
thereby provide us with a useful tool for measuring test coverage of 
opcodes?

Thank you very much.

kid51



More information about the parrot-dev mailing list