Skip Menu |

This queue is for tickets about the Email-MIME-CreateHTML CPAN distribution.

Report information
The Basics
Id: 48367
Status: resolved
Priority: 0/
Queue: Email-MIME-CreateHTML

People
Owner: Nobody in particular
Requestors: jcasadonte [...] northbound-train.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bad POD prevents test from executing
Date: Sat, 01 Aug 2009 20:04:48 -0400
To: bug-Email-MIME-CreateHTML [...] rt.cpan.org
From: "Joe Casadonte" <jcasadonte [...] northbound-train.com>
It may be a problem with Test::Pod -- I don't know Pod s I can't really say for sure. Here's the error: cpan[1]> install Email::MIME::CreateHTML CPAN: Storable loaded ok (v2.18) Going to read '/root/.cpan/Metadata' Database was generated on Mon, 27 Jul 2009 04:27:35 GMT CPAN: YAML loaded ok (v0.68) Going to read 156 yaml files from /root/.cpan/build/ CPAN: Time::HiRes loaded ok (v1.9711) ...................................DONE Restored the state of 1 (in 2.9743 secs) Running install for module 'Email::MIME::CreateHTML' Running make for B/BB/BBC/Email-MIME-CreateHTML-1.026.tar.gz Prepending /root/.cpan/build/Tree-DAG_Node-1.06-b1tstQ/blib/arch /root/.cpan/bui ld/Tree-DAG_Node-1.06-b1tstQ/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory /root/.cpan/build/Email-MIME-CreateH TML-1.026-M4px5T Prepending /root/.cpan/build/Tree-DAG_Node-1.06-b1tstQ/blib/arch /root/.cpan/bui ld/Tree-DAG_Node-1.06-b1tstQ/blib/lib to PERL5LIB for 'make' Has already been made Prepending /root/.cpan/build/Tree-DAG_Node-1.06-b1tstQ/blib/arch /root/.cpan/bui ld/Tree-DAG_Node-1.06-b1tstQ/blib/lib to PERL5LIB for 'test' Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Email-MIME-CreateHTML-Resolver.t .. ok t/Email-MIME-CreateHTML.t ........... ok t/pod.t ............................. 1/5 # Failed test 'blib/lib/Email/MIME/CreateHTML.pm' # at /usr/local/share/perl/5.10.0/Test/Pod.pm line 219. # blib/lib/Email/MIME/CreateHTML.pm (661): L<text|scheme:...> is invalid accordi ng to perlpod # Looks like you failed 1 test of 5. t/pod.t ............................. Dubious, test returned 1 (wstat 256, 0x100 ) Failed 1/5 subtests t/pod_coverage.t .................... ok Test Summary Report ------------------- t/pod.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=4, Tests=72, 1 wallclock secs ( 0.07 usr 0.02 sys + 0.96 cusr 0.02 csy s = 1.07 CPU) Result: FAIL Failed 1/4 test programs. 1/72 subtests failed. make: *** [test_dynamic] Error 255 BBC/Email-MIME-CreateHTML-1.026.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports BBC/Email-MIME-CreateHTML-1.026.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: BBC/Email-MIME-CreateHTML-1.026.tar.gz : make_test NO Editing that line fixed it. I changed the line from: L<Perl Email Project|http://pep.pobox.com> to L<http://pep.pobox.com> And then it installed and tested fine. -- Regards, joe Joe Casadonte jcasadonte@northbound-train.com
Hi, This just bit a user who was installing Jifty. It'd be great if we could get a release of Email-MIME-CreateHTML without this spurious test failure. :) A popular alternative is to only run the POD tests for authors. Something like this in t/pod.t: unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) { plan( skip_all => "Author tests not required for installation" ); } Thanks! Shawn
Thanks for patches, this should be resolved in 1.030