Subject: | Tests fail because t/setup.pl not found |
Running make test fails because t/setup.pl is not in the paths in @INC:
t/01-upload-with-image-magick.....Can't locate t/setup.pl in @INC (@INC
contains: lib
/home/jlee/debs/perl/Catalyst-Plugin-Upload-Image-Magick-0.03/inc
/home/jlee/debs/perl/Catalyst-Plugin-Upload-Image-Magick-0.03/blib/lib
/home/jlee/debs/perl/Catalyst-Plugin-Upload-Image-Magick-0.03/blib/arch
/etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl) at t/01-upload-with-image-magick.t line 6.
make test executes this command line:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-load.t
t/01-upload-with-image-magick.t t/02-upload-to-thumbnail.t
t/03-upload-to-thumbnail-fixed.t t/boilerplate.t t/pod-coverage.t t/pod.t
Adding '' to the arguments to test_harness() allows the tests to pass:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, '', 'inc', 'blib/lib', 'blib/arch')" t/00-load.t
t/01-upload-with-image-magick.t t/02-upload-to-thumbnail.t
t/03-upload-to-thumbnail-fixed.t t/boilerplate.t t/pod-coverage.t t/pod.t
Version information:
Catalyst-Plugin-Upload-Image-Magick-0.03
This is perl, v5.8.7 built for x86_64-linux-gnu-thread-multi
(with 1 registered patch, see perl -V for more detail)
Linux mario.pangeamedia.com 2.6.16.29-xen #3 SMP Sun Oct 15 13:15:34 BST
2006 x86_64 GNU/Linux