Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Text-Markdown CPAN distribution.

Report information
The Basics
Id: 50918
Status: open
Priority: 0/
Queue: Text-Markdown

People
Owner: bobtfish [...] bobtfish.net
Requestors: textproof [...] web.de
Cc:
AdminCc:

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



Subject: install Text::Markdown - last two tests fail
Date: Wed, 28 Oct 2009 15:55:01 +0100
To: bug-Text-Markdown [...] rt.cpan.org
From: Charles Stewart <textproof [...] web.de>
Download (untitled) / with headers
text/plain 6.4k
Dear Tomas Doran (I presume), Text::Markdown installed OK via cpan, but the post-install tests failed. cpan's output is at the end of this message. force install Text::Markdown gives what appears to be a perfectly functional module. Cheers, Charles Stewart http://www.advogato.org/person/chalst %==== cpan test Text::Markdown results cpan[13]> test Text::Markdown Running test for module 'Text::Markdown' Running make for B/BO/BOBTFISH/Text-Markdown-1.000028.tar.gz Has already been unwrapped into directory /Users/cas/.cpan/build/ Text-Markdown-1.000028-I54uJH Has already been made Running make test PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/02pod..............................skipped: Test::Pod 1.14 required t/03podcoverage......................skipped: Test::Pod::Coverage 1.04 required t/04ensure_1_newline_before_EOF......Can't locate Test/Differences.pm in @INC (@INC contains: /Users/cas/.cpan/build/Text-Markdown-1.000028- I54uJH/inc /Users/cas/.cpan/build/Text-Markdown-1.000028-I54uJH/blib/ lib /Users/cas/.cpan/build/Text-Markdown-1.000028-I54uJH/blib/arch / opt/local/lib/perl5/5.8.7/darwin-2level /opt/local/lib/perl5/5.8.7 / opt/local/lib/perl5/site_perl/5.8.7/darwin-2level /opt/local/lib/ perl5/site_perl/5.8.7 /opt/local/lib/perl5/site_perl /opt/local/lib/ perl5/vendor_perl/5.8.7/darwin-2level /opt/local/lib/perl5/ vendor_perl/5.8.7 /opt/local/lib/perl5/vendor_perl .) at t/ 04ensure_1_newline_before_EOF.t line 4. BEGIN failed--compilation aborted at t/ 04ensure_1_newline_before_EOF.t line 4. # Looks like your test exited with 2 before it could output anything. t/04ensure_1_newline_before_EOF...... Dubious, test returned 2 (wstat 512, 0x200) Failed 3/3 subtests t/05markdown_in_divs.................Can't locate Test/Differences.pm in @INC (@INC contains: /Users/cas/.cpan/build/Text-Markdown-1.000028- I54uJH/inc /Users/cas/.cpan/build/Text-Markdown-1.000028-I54uJH/blib/ lib /Users/cas/.cpan/build/Text-Markdown-1.000028-I54uJH/blib/arch / opt/local/lib/perl5/5.8.7/darwin-2level /opt/local/lib/perl5/5.8.7 / opt/local/lib/perl5/site_perl/5.8.7/darwin-2level /opt/local/lib/ perl5/site_perl/5.8.7 /opt/local/lib/perl5/site_perl /opt/local/lib/ perl5/vendor_perl/5.8.7/darwin-2level /opt/local/lib/perl5/ vendor_perl/5.8.7 /opt/local/lib/perl5/vendor_perl .) at t/ 05markdown_in_divs.t line 4. BEGIN failed--compilation aborted at t/05markdown_in_divs.t line 4. # Looks like your test exited with 2 before it could output anything. t/05markdown_in_divs................. Dubious, test returned 2 (wstat 512, 0x200) Failed 21/21 subtests t/19exporter-markdown................ok t/21fulldocs-text-markdown...........Install Text::Diff for more helpful failure messages! (Can't locate Text/Diff.pm in @INC (@INC contains: /Users/cas/.cpan/build/Text-Markdown-1.000028-I54uJH/inc / Users/cas/.cpan/build/Text-Markdown-1.000028-I54uJH/blib/lib /Users/ cas/.cpan/build/Text-Markdown-1.000028-I54uJH/blib/arch /opt/local/ lib/perl5/5.8.7/darwin-2level /opt/local/lib/perl5/5.8.7 /opt/local/ lib/perl5/site_perl/5.8.7/darwin-2level /opt/local/lib/perl5/ site_perl/5.8.7 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/ vendor_perl/5.8.7/darwin-2level /opt/local/lib/perl5/vendor_perl/ 5.8.7 /opt/local/lib/perl5/vendor_perl .) at t/21fulldocs-text- markdown.t line 16. ) at t/21fulldocs-text-markdown.t line 33. t/21fulldocs-text-markdown...........ok t/23fulldocs-markdown................Install Text::Diff for more helpful failure messages! (Can't locate Text/Diff.pm in @INC (@INC contains: /Users/cas/.cpan/build/Text-Markdown-1.000028-I54uJH/inc / Users/cas/.cpan/build/Text-Markdown-1.000028-I54uJH/blib/lib /Users/ cas/.cpan/build/Text-Markdown-1.000028-I54uJH/blib/arch /opt/local/ lib/perl5/5.8.7/darwin-2level /opt/local/lib/perl5/5.8.7 /opt/local/ lib/perl5/site_perl/5.8.7/darwin-2level /opt/local/lib/perl5/ site_perl/5.8.7 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/ vendor_perl/5.8.7/darwin-2level /opt/local/lib/perl5/vendor_perl/ 5.8.7 /opt/local/lib/perl5/vendor_perl .) at /Users/cas/.cpan/build/ Text-Markdown-1.000028-I54uJH/t/21fulldocs-text-markdown.t line 16. ) at /Users/cas/.cpan/build/Text-Markdown-1.000028-I54uJH/t/ 21fulldocs-text-markdown.t line 33. t/23fulldocs-markdown................skipped: This test needs HTML::Tidy installed to pass correctly, skipping t/25fulldocs-phpmarkdown.............Install Text::Diff for more helpful failure messages! (Can't locate Text/Diff.pm in @INC (@INC contains: /Users/cas/.cpan/build/Text-Markdown-1.000028-I54uJH/inc / Users/cas/.cpan/build/Text-Markdown-1.000028-I54uJH/blib/lib /Users/ cas/.cpan/build/Text-Markdown-1.000028-I54uJH/blib/arch /opt/local/ lib/perl5/5.8.7/darwin-2level /opt/local/lib/perl5/5.8.7 /opt/local/ lib/perl5/site_perl/5.8.7/darwin-2level /opt/local/lib/perl5/ site_perl/5.8.7 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/ vendor_perl/5.8.7/darwin-2level /opt/local/lib/perl5/vendor_perl/ 5.8.7 /opt/local/lib/perl5/vendor_perl .) at /Users/cas/.cpan/build/ Text-Markdown-1.000028-I54uJH/t/21fulldocs-text-markdown.t line 16. ) at /Users/cas/.cpan/build/Text-Markdown-1.000028-I54uJH/t/ 21fulldocs-text-markdown.t line 33. t/25fulldocs-phpmarkdown.............skipped: This test needs HTML::Tidy installed to pass correctly, skipping t/31angleedgecase....................ok t/32tabwidth.........................ok t/33spaceinlinksandimages............ok t/34commandlinemarkdown..............ok t/37anchormultilinebugs..............ok t/40trustliststart...................ok t/code-hr............................ok t/rt37909............................ok t/rt48943............................ok Test Summary Report ------------------- t/04ensure_1_newline_before_EOF.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 0. t/05markdown_in_divs.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 21 tests but ran 0. Files=17, Tests=40, 11 wallclock secs ( 0.21 usr 0.20 sys + 3.20 cusr 1.23 csys = 4.84 CPU) Result: FAIL Failed 2/17 test programs. 0/40 subtests failed. make: *** [test_dynamic] Error 255 BOBTFISH/Text-Markdown-1.000028.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports BOBTFISH/Text-Markdown-1.000028.tar.gz Failed during this command: BOBTFISH/Text-Markdown-1.000028.tar.gz : make_test NO cpan[14]>
Subject: Re: [rt.cpan.org #50918] install Text::Markdown - last two tests fail
Date: Wed, 28 Oct 2009 15:25:44 +0000
To: bug-Text-Markdown [...] rt.cpan.org
From: Tomas Doran <bobtfish [...] bobtfish.net>
Download (untitled) / with headers
text/plain 757b
Charles Stewart via RT wrote: Show quoted text
> Text::Markdown installed OK via cpan, but the post-install tests > failed. cpan's output is at the end of this message.
Erm, there is no such thing as 'post install' tests for CPAN modules. The tests are run once the module has been build in a staging area (the blib directory inside the unwrapped module distribution), but before installation. Show quoted text
> force install Text::Markdown gives what appears to be a perfectly > functional module.
If the tests were post-install, then you wouldn't need to force the install, as, well, the code would be installed :_) However, semantics aside, thank you very much for the bug report. I have uploaded Text-Markdown-1.000029.tar.gz which should correct this issue. Cheers t0m
Subject: Re: [rt.cpan.org #50918] install Text::Markdown - last two tests fail
Date: Thu, 29 Oct 2009 11:08:41 +0100
To: bug-Text-Markdown [...] rt.cpan.org
From: Charles Stewart <textproof [...] web.de>
Download (untitled) / with headers
text/plain 598b
Hi Tom, Show quoted text
>> but the post-install tests >> failed.
Show quoted text
> Erm, there is no such thing as 'post install' tests for CPAN modules.
I knew that! Indeed the cpan help docs make no sense otherwise. Musta been thinking of something else. Show quoted text
> I have uploaded Text-Markdown-1.000029.tar.gz which should correct > this > issue.
New dependencies for me, which in turn want more stuff installed. DAGOLDEN/Module-Build-0.35.tar.gz fails one test. I'll go and bother him now. But Text::Markdown doesn't seem to mind, and the test pass fine 2nd time around. Thanks for fixing this so quickly! Charles
Subject: Re: [rt.cpan.org #50918] install Text::Markdown - last two tests fail
Date: Thu, 29 Oct 2009 10:39:14 +0000
To: bug-Text-Markdown [...] rt.cpan.org
From: Tomas Doran <bobtfish [...] bobtfish.net>
Download (untitled) / with headers
text/plain 596b
Charles Stewart via RT wrote: Show quoted text
> New dependencies for me, which in turn want more stuff installed. > DAGOLDEN/Module-Build-0.35.tar.gz fails one test. I'll go and bother > him now.
Yeah, I was lazy and just added a dep. <sigh> I'll make the dep optional and the test skip if it isn't there, but I'm not gonna bother with a point release for that, so it'll be seen next time I release for another reason. Show quoted text
> But Text::Markdown doesn't seem to mind, and the test pass fine 2nd time > around.
Great. Show quoted text
> Thanks for fixing this so quickly!
No problem. Thanks for the bug report! Cheers t0m


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.