I agree that HDF.pm is installed in the wrong place, so it is not
found, so the test fails.
blib/lib/PDL/IO/PDL/IO/HDF.pm
should be
blib/lib/PDL/IO/HDF.pm
With the second line, the tests all work for me.
The first line won't work on any system. Perl simply translates
class hierarchies to directory hierarchies. So
use PDL::IO::HDF;
will need to find $ONE_OF_THE_@INC_PATHS/PDL/IO/HDF.pm .
You can add a line to hdf_sd.t so it reads ...
eval( " use PDL::IO::HDF; " );
if( $@ )
{
print STDERR "$@"; # <<<< add this
plan skip_all => "PDL::IO::HDF requires the HDF module.";
}
and do the standard " perl -Mblib t/hdf_sd.t " .
Perl dutifully looks for ./blib/lib/PDL/IO/HDF.pm and can't find
it.
I can't recall what the previous problem with hdf was, but
Judd fixed it in cvs, and after that hdf tests worked for
me.
Cheers,
John
|