Subject: | pod-coverage.t and pod.t entries in manifest use \ in the path |
I am running ActiveSate Perl 5.8.8 on a Windows XP SP2 machine.
When specifying the INCLUDE_POD_COVERAGE_TEST and INCLUDE_POD_TEST
attributes, ModuleMaker uses File::Spec->catfile to create the path
and file name for each of these test files. The catfile function uses
a \ in the path instead of /. This poses a problem for
ExtUtils::Manifest which does not support DOS style path names and
does not convert them to Unix style path names. I am extending
ModuleMaker and overriding complete_build() and have made the
necessary changes in my extension. However, this will need correcting
in ModuleMaker.pm itself.
Here is the output from perl Makefile.PL on a module that includes
these tests:
****************
C:\Temp\Sparrow\Vocollect-Sparrow-Plugin-MyPlugin>perl Makefile.PL
Checking if your kit is complete...
Warning: the following files are missing in your kit:
t\pod-coverage.t
t\pod.t
Please inform the author.
Writing Makefile for Vocollect::Sparrow::Plugin::MyPlugin
****************
This warning originates from ExtUtils::Manifest->manicheck().
Attached is the MANIFEST file being verified. Here is the culprit
code from ModuleMaker.pm:
$self->print_file( File::Spec->catfile( qw| t pod-coverage.t | ),
$self->text_pod_coverage_test() )
if $self->{INCLUDE_POD_COVERAGE_TEST}; # default
is off
$self->print_file( File::Spec->catfile( qw| t pod.t | ),
$self->text_pod_test() )
if $self->{INCLUDE_POD_TEST}; # default
is off
Subject: | MANIFEST |
MANIFEST
README
LICENSE
t/pod-coverage.t
t/pod.t
Makefile.PL
lib/Vocollect/Sparrow/Plugin/MyPlugin.pm
lib/Vocollect/Sparrow/Plugin/MyPlugin.xml
t/00.Vocollect.Sparrow.Plugin.MyPlugin.t