Ovid wrote: > Is anyone able to replicate the test failures I'm getting for > Test::Class::Most on Perl 5.10.1 Linux/Solaris? I can't (even on those > boxes). > > http://www.cpantesters.org/cpan/report/6771238 > > The problem appears to be that "feature->import(':5.10')" isn't working (or > something like that), but it works for chromatic's Modern::Perl, so I'm > unsure of what's happening. I can't debug what I can't reproduce (before > anyone asks, I've emailed the testers but they've not gotten back to me). > > Cheers, > Ovid-- > Buy the book - http://www.oreilly.com/catalog/perlhks/ > Tech blog - http://use.perl.org/~Ovid/journal/ > Twitter - http://twitter.com/OvidPerl > Official Perl 6 Wiki - http://www.perlfoundation.org/perl6 > > >
Fails for me with: mar...@bragi:/tmp/Test-Class-Most-0.02$ perl Makefile.PL Writing Makefile for Test::Class::Most mar...@bragi:/tmp/Test-Class-Most-0.02$ make cp lib/Test/Class/Most.pm blib/lib/Test/Class/Most.pm Manifying blib/man3/Test::Class::Most.3pm mar...@bragi:/tmp/Test-Class-Most-0.02$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/test_class_load.t .. 1/? # Failed test '5.10 automatically imports features' # at t/lib/My/Test/Class.pm line 27. # (in My::Test::Class::Child::Grandchild->sanity) # syntax error at (eval 45) line 1, near "say '# ignore this diagnostic message'" # Failed test '5.10 automatically imports features' # at t/lib/My/Test/Class.pm line 27. # (in My::Test::Class::Child::ISuckAtOO->sanity) # syntax error at (eval 51) line 1, near "say '# ignore this diagnostic message'" # Failed test '5.10 automatically imports features' # at t/lib/My/Test/Class.pm line 27. # (in My::Test::Class->sanity) # syntax error at (eval 64) line 1, near "say '# ignore this diagnostic message'" # Failed test '5.10 automatically imports features' # at t/lib/My/Test/Class.pm line 27. # (in My::Test::Class::Child->sanity) # syntax error at (eval 67) line 1, near "say '# ignore this diagnostic message'" # Failed test '5.10 automatically imports features' # at t/lib/My/Test/Class.pm line 27. # (in My::Test::Class::Child::Grandchild->sanity) # syntax error at (eval 70) line 1, near "say '# ignore this diagnostic message'" # Failed test '5.10 automatically imports features' # at t/lib/My/Test/Class.pm line 27. # (in My::Test::Class::Child::ISuckAtOO->sanity) # syntax error at (eval 76) line 1, near "say '# ignore this diagnostic message'" # Failed test '5.10 automatically imports features' # at t/lib/My/Test/Class.pm line 27. # (in My::Test::Class->sanity) # syntax error at (eval 89) line 1, near "say '# ignore this diagnostic message'" # Failed test '5.10 automatically imports features' # at t/lib/My/Test/Class.pm line 27. # (in My::Test::Class::Child->sanity) # syntax error at (eval 92) line 1, near "say '# ignore this diagnostic message'" # Testing Test::Class::Most 0.02, Perl 5.010000, /usr/bin/perl # Testing Test::Class 0.33 # Looks like you failed 8 tests of 50. t/test_class_load.t .. Dubious, test returned 8 (wstat 2048, 0x800) Failed 8/50 subtests Test Summary Report ------------------- t/test_class_load.t (Wstat: 2048 Tests: 50 Failed: 8) Failed tests: 3, 12, 22, 25, 28, 37, 47, 50 Non-zero exit status: 8 Files=1, Tests=50, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.16 cusr 0.02 csys = 0.20 CPU) Result: FAIL Failed 1/1 test programs. 8/50 subtests failed. make: *** [test_dynamic] Error 8 Martin -- Martin J. Evans Easysoft Limited http://www.easysoft.com