# New Ticket Created by James Keenan # Please include the string: [perl #41529] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41529 >
Running make test, this morning, one failing test was fixed, one (the shootout) remained unfixed, and one new failure appeared in t/perl/ Parrot_Distribution.t. Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------ ------- t/examples/shootout.t 1 256 20 1 16 t/perl/Parrot_Distribution.t 1 256 31 1 31 11 tests and 602 subtests skipped. Failed 2/261 test scripts. 2/6558 subtests failed. Files=261, Tests=6558, 1431 wallclock secs (396.89 cusr + 235.21 csys = 632.10 CPU) Failed 2/261 test programs. 2/6558 subtests failed. make: *** [test] Error 25 Here's the output of prove -v on the failing test file: [parrot] 513 $ vi t/perl/Parrot_Distribution.t [parrot] 514 $ prove -v t/perl/Parrot_Distribution.t t/perl/Parrot_Distribution....1..31 ok 1 - use Parrot::Distribution; ok 2 - The object isa Parrot::Docs::Directory ok 3 - C source file WARNING: lib/Parrot/Distribution.pm:262 File not found: moomoo.c ok 4 - C source file not there ok 5 - C header file WARNING: lib/Parrot/Distribution.pm:262 File not found: moomoo.h ok 6 - C header file not there ok 7 - PMC code WARNING: lib/Parrot/Distribution.pm:262 File not found: moomoo.pmc ok 8 - PMC code file not there ok 9 - Yacc code WARNING: lib/Parrot/Distribution.pm:262 File not found: moomoo.y ok 10 - Yacc code file not there ok 11 - Lex code WARNING: lib/Parrot/Distribution.pm:262 File not found: moomoo.l ok 12 - Lex code file not there ok 13 - Perl module file ok 14 - Perl module file not there ok 15 - Directory from hardcoded list compilers/bcg/src/pmc found through MANIFEST ok 16 - Directory from hardcoded list languages/APL/src/pmc found through MANIFEST ok 17 - Directory from hardcoded list languages/WMLScript/pmc found through MANIFEST ok 18 - Directory from hardcoded list languages/amber/lib/kernel/pmc found through MANIFEST ok 19 - Directory from hardcoded list languages/cardinal/src/pmc found through MANIFEST ok 20 - Directory from hardcoded list languages/dotnet/pmc found through MANIFEST ok 21 - Directory from hardcoded list languages/lua/pmc found through MANIFEST ok 22 - Directory from hardcoded list languages/perl6/src/pmc found through MANIFEST ok 23 - Directory from hardcoded list languages/pugs/pmc found through MANIFEST ok 24 - Directory from hardcoded list languages/tcl/src/pmc found through MANIFEST ok 25 - Directory from hardcoded list src/dynpmc found through MANIFEST ok 26 - Directory from hardcoded list src/pmc found through MANIFEST ok 27 - Got perl files ok 28 - Perl source file (.pl) ok 29 - Perl source file (.pm) ok 30 - Perl source file (.t) not ok 31 - Not a Perl source file (.t) # Failed test (t/perl/Parrot_Distribution.t at line 75) # Looks like you failed 1 test of 31. dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 31 Failed 1/31 tests, 96.77% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------ ------- t/perl/Parrot_Distribution.t 1 256 31 1 31 Failed 1/1 test scripts. 1/31 subtests failed. Files=1, Tests=31, 4 wallclock secs ( 2.47 cusr + 0.39 csys = 2.86 CPU) Failed 1/1 test programs. 1/31 subtests failed. Here's the relevant section of t/perl/Parrot_Distribution.t: [parrot] 519 $ ack perl_source_file_with_name t/perl/Parrot_Distribution.t 72: ok( $d->perl_source_file_with_name('ops2c.pl'), 'Perl source file (.pl)' ); 73: ok( $d->perl_source_file_with_name('Distribution.pm'), 'Perl source file (.pm)' ); 74: ok( $d->perl_source_file_with_name('perlcritic.t'), 'Perl source file (.t)' ); 75: ok( !$d->perl_source_file_with_name('p5rx.t'), 'Not a Perl source file (.t)' ); Note that acking for 'perl_source_file_with_name' turned up no instances *except* in the test file. This has so far impeded my attempt to diagnose the test failure, as I can't be certain as to how that function works. The file which is failing the test is a Parrot source file (which happens to be a Parrot test file) -- not a Perl source file (which happens to be a Perl test file). So the test at line 75 is correctly formatted. particle: You recently added this test. Was it passing for you? kid51