[perl #46893] [TODO] [Perl] Complete test coverage of Parrot::Test

James Keenan via RT parrotbug-followup at parrotcode.org
Sat Dec 6 03:26:06 UTC 2008


A follow-up:  Another curious point about this is that this block:

            # set up default description
            unless ($desc) {
                ( undef, my $file, my $line ) = caller();
                $desc = "($file line $line)";
            }

... occurs *twice* in this package:  once, where cited, in
_run_test_file(); once in _generate_test_functions() approx. 62 lines
after the point at which _generate_test_functions() itself calls
_run_test_file()!

kid51


More information about the parrot-dev mailing list