Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Pod CPAN distribution.

Report information
The Basics
Id: 14654
Status: resolved
Priority: 0/
Queue: Test-Pod

People
Owner: Nobody in particular
Requestors: jkeen [...] verizon.net
Cc:
AdminCc:

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



Subject: Test-Pod-1.20
Distribution: Test-Pod-1.20 [jimk 530]$ perl -v This is perl, v5.8.4 built for darwin-2level [jimk 531]$ uname -a Darwin Macintosh.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc I was going to write a patch for a small documentation bug in Test-Pod, so I figured I should upgrade from 1.16 to the latest version. To my surprise, I got massive errors during 'make test', which I have not yet had time to diagnose. Here is the error report. ***** START ERROR REPORT ***** Show quoted text
cpan> install Test::Pod
CPAN: Storable loaded ok Going to read /Users/jimk/.cpan/Metadata Database was generated on Sat, 17 Sep 2005 09:00:25 GMT CPAN: LWP::UserAgent loaded ok Fetching with LWP: ftp://mirror.cc.columbia.edu/pub/software/cpan/authors/01mailrc.txt.gz Going to read /Users/jimk/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib loaded ok Fetching with LWP: ftp://mirror.cc.columbia.edu/pub/software/cpan/modules/02packages.details.txt.gz Going to read /Users/jimk/.cpan/sources/modules/02packages.details.txt.gz Database was generated on Mon, 19 Sep 2005 08:03:02 GMT Fetching with LWP: ftp://mirror.cc.columbia.edu/pub/software/cpan/modules/03modlist.data.gz Going to read /Users/jimk/.cpan/sources/modules/03modlist.data.gz Going to write /Users/jimk/.cpan/Metadata Running install for module Test::Pod Running make for P/PE/PETDANCE/Test-Pod-1.20.tar.gz Fetching with LWP: ftp://mirror.cc.columbia.edu/pub/software/cpan/authors/id/P/PE/PETDANCE/Test-Pod-1.20.tar.gz CPAN: Digest::MD5 loaded ok Checksum for /Users/jimk/.cpan/sources/authors/id/P/PE/PETDANCE/Test-Pod-1.20.tar.gz ok Scanning cache /Users/jimk/.cpan/build for sizes [snip deletions from cache ] Test-Pod-1.20/ Test-Pod-1.20/t/ Test-Pod-1.20/t/unknown-directive.t Test-Pod-1.20/t/pod/ Test-Pod-1.20/t/pod/good-pod-script Test-Pod-1.20/t/pod/no_pod.pod Test-Pod-1.20/t/pod/good.pod Test-Pod-1.20/t/empty-file.pod Test-Pod-1.20/t/cut-outside-block.pod Test-Pod-1.20/t/good.t Test-Pod-1.20/t/item-ordering.pod Test-Pod-1.20/t/all_pod_files.t Test-Pod-1.20/t/selftest.t Test-Pod-1.20/t/unknown-directive.pod Test-Pod-1.20/t/pod_ok.t Test-Pod-1.20/t/item-ordering.t Test-Pod-1.20/t/load.t Test-Pod-1.20/t/missing-file.t Test-Pod-1.20/t/pod.t Test-Pod-1.20/t/cut-outside-block.t Test-Pod-1.20/Changes Test-Pod-1.20/MANIFEST Test-Pod-1.20/META.yml Test-Pod-1.20/Pod.pm Test-Pod-1.20/Makefile.PL CPAN.pm: Going to build P/PE/PETDANCE/Test-Pod-1.20.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Test::Pod cp Pod.pm blib/lib/Test/Pod.pm Manifying blib/man3/Test::Pod.3 /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/all_pod_files........ok t/cut-outside-block....NOK 2 # Failed test (t/cut-outside-block.t at line 20) # STDERR is: # # # Failed test (t/cut-outside-block.t at line 15) # # t/cut-outside-block.pod (5): =cut found outside a pod block. Skipping to next block. # # not: # # Failed test (t/cut-outside-block.t at line 15) # # t/cut-outside-block.pod (5): =cut found outside a pod block. Skipping to next block. # # as expected t/cut-outside-block....FAILED test 2 Failed 1/2 tests, 50.00% okay t/good.................ok t/item-ordering........NOK 2 # Failed test (t/item-ordering.t at line 19) # STDERR is: # # # Failed test (t/item-ordering.t at line 14) # # t/item-ordering.pod (32): You can't have =items (as at line 36) unless the first thing after the =over is an =item # # not: # # Failed test (t/item-ordering.t at line 14) # # t/item-ordering.pod (32): You can't have =items (as at line 36) unless the first thing after the =over is an =item # # as expected t/item-ordering........FAILED test 2 Failed 1/2 tests, 50.00% okay t/load.................ok t/missing-file.........NOK 2 # Failed test (t/missing-file.t at line 18) # STDERR is: # # # Failed test (t/missing-file.t at line 16) # # t/non-existent.pod does not exist # # not: # # Failed test (t/missing-file.t at line 16) # # t/non-existent.pod does not exist # # as expected t/missing-file.........NOK 3 # Failed test (t/missing-file.t at line 28) # STDERR is: # # # Failed test (t/missing-file.t at line 26) # # t/non-existent.pod does not exist # # not: # # Failed test (t/missing-file.t at line 26) # # t/non-existent.pod does not exist # # as expected t/missing-file.........FAILED tests 2-3 Failed 2/3 tests, 33.33% okay t/pod..................ok t/pod_ok...............ok t/selftest.............ok t/unknown-directive....NOK 2 # Failed test (t/unknown-directive.t at line 20) # STDERR is: # # # Failed test (t/unknown-directive.t at line 16) # # t/unknown-directive.pod (9): Unknown directive: =over4 # # t/unknown-directive.pod (13): Unknown directive: =under # # not: # # Failed test (t/unknown-directive.t at line 16) # # t/unknown-directive.pod (9): Unknown directive: =over4 # # t/unknown-directive.pod (13): Unknown directive: =under # # as expected t/unknown-directive....FAILED test 2 Failed 1/2 tests, 50.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/cut-outside-block.t 2 1 50.00% 2 t/item-ordering.t 2 1 50.00% 2 t/missing-file.t 3 2 66.67% 2-3 t/unknown-directive.t 2 1 50.00% 2 Failed 4/10 test scripts, 60.00% okay. 5/19 subtests failed, 73.68% okay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Show quoted text
cpan>
***** END ERROR REPORT ***** I also ran prove -vb on the 4 files which failed, but the output was the same as in 'make test' above, so I won't reproduce that here. Also: Is there any particular reason why this distribution lacks a README? Jim Keenan
From: JKEENAN
[JKEENAN - Mon Sep 19 19:09:57 2005]: Show quoted text
> t/cut-outside-block....NOK 2 > # Failed test (t/cut-outside-block.t at line 20) > # STDERR is: > # > # # Failed test (t/cut-outside-block.t at line 15) > # # t/cut-outside-block.pod (5): =cut found outside a pod block. > Skipping to next block. > # > # not: > # # Failed test (t/cut-outside-block.t at line 15) > # # t/cut-outside-block.pod (5): =cut found outside a pod block. > Skipping to next block. > # > # as expected
It appears that in each case of failure, an extra line beginning with a # sign was output before the '# # Failed test ...' line I seem to recall discussion some months back on perl.qa re problems due to changes in Test::More's default output. Could this be due to that? I'm using v0.60 of Test::More. Jim Keenan
From: JKEENAN
[JKEENAN - Mon Sep 19 19:21:29 2005]: Show quoted text
> [JKEENAN - Mon Sep 19 19:09:57 2005]: >
> > t/cut-outside-block....NOK 2 > > # Failed test (t/cut-outside-block.t at line 20) > > # STDERR is: > > # > > # # Failed test (t/cut-outside-block.t at line 15) > > # # t/cut-outside-block.pod (5): =cut found outside a pod block. > > Skipping to next block. > > # > > # not: > > # # Failed test (t/cut-outside-block.t at line 15) > > # # t/cut-outside-block.pod (5): =cut found outside a pod block. > > Skipping to next block. > > # > > # as expected
> > It appears that in each case of failure, an extra line beginning with > a # sign was output > before the '# # Failed test ...' line > > I seem to recall discussion some months back on perl.qa re problems > due to changes in > Test::More's default output. Could this be due to that? I'm using > v0.60 of Test::More. >
I used the cpan shell to install Test::Pod today on a Windows box on which (a) neither Test:: Pod nor its prerequisites such as Pod::Simple had ever been installed; and (b) Test::More was still at v0.54. All tests were successful and installation was okay. Which reinforces my belief that the problem I originally reported was due to the interaction between Test::Pod and Test::More v0.60. Jim Keenan
From: JKEENAN
[JKEENAN - Mon Sep 19 19:09:57 2005]: Show quoted text
> Running make test > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/all_pod_files........ok > t/cut-outside-block....NOK 2 > # Failed test (t/cut-outside-block.t at line 20) > # STDERR is: > # > # # Failed test (t/cut-outside-block.t at line 15) > # # t/cut-outside-block.pod (5): =cut found outside a pod block. > Skipping to next block. > # > # not: > # # Failed test (t/cut-outside-block.t at line 15) > # # t/cut-outside-block.pod (5): =cut found outside a pod block. > Skipping to next block. > # > # as expected > t/cut-outside-block....FAILED test 2 > Failed 1/2 tests, 50.00% okay > t/good.................ok
I had hoped that Schwern's v0.62 of Test-Simple distribution would fix this problem. I installed that this morning and tried to install Test-Pod-1.20 fresh (both via cpan shell and manuallly). The errors persisted. Here is an excerpt from the output: [Test-Pod-1.20 523]$ make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/all_pod_files........ok t/cut-outside-block....NOK 2 # Failed test 't/cut-outside-block.pod is bad' # in t/cut-outside-block.t at line 20. # STDERR is: # # # Failed test 'POD test for t/cut-outside-block.pod' # # in t/cut-outside-block.t at line 15. # # t/cut-outside-block.pod (5): =cut found outside a pod block. Skipping to next block. # # not: # # Failed test (t/cut-outside-block.t at line 15) # # t/cut-outside-block.pod (5): =cut found outside a pod block. Skipping to next block. # # as expected t/cut-outside-block....FAILED test 2 Failed 1/2 tests, 50.00% okay Jim Keenan
Updated requirements of Test::Simple in 1.22.