Subject: | Require Test::WWW::Mechanize::Catalyst in test, not in build file. |
include Test/WWW/Mechanize/Catalyst.pm in dependencies if you want to
make tests use it, or skip the test if you don't have it.
CPAN.pm: Going to build
D/DK/DKAMHOLZ/Catalyst-Plugin-Session-PerUser-0.03.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Catalyst::Plugin::Session::PerUser
CPAN: YAML loaded ok (v0.65)
cp lib/Catalyst/Plugin/Session/PerUser.pm
blib/lib/Catalyst/Plugin/Session/PerUser.pm
Manifying blib/man3/Catalyst::Plugin::Session::PerUser.3pm
DKAMHOLZ/Catalyst-Plugin-Session-PerUser-0.03.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/live_app....Can't locate Test/WWW/Mechanize/Catalyst.pm in @INC (@INC
contains: /root/.cpan/build/Catalyst-Plugin-Session-PerUser-0.03-Tcau
/blib/lib
/root/.cpan/build/Catalyst-Plugin-Session-PerUser-0.03-TcaupF/blib/arch
/etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5
.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl /usr/local/lib/perl/5.8.7 /usr/local/share/
rl/5.8.7 . /etc/perl /usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/
8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.7
/usr/local/share/perl/5.8.7 .) at t/live_app.t line 73.
BEGIN failed--compilation aborted at t/live_app.t line 73.
# No tests run!
t/live_app....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-43
Failed 43/43 tests, 0.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/live_app.t 255 65280 43 86 1-43
Failed 1/1 test scripts. 43/43 subtests failed.
Files=1, Tests=43, 1 wallclock secs ( 0.78 cusr + 0.12 csys = 0.90 CPU)
Failed 1/1 test programs. 43/43 subtests failed.
make: *** [test_dynamic] Error 255
DKAMHOLZ/Catalyst-Plugin-Session-PerUser-0.03.tar.gz
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
devel:/var/www/contact/auth_required#