Subject: | test fails without Catalyst::Plugin::Authentication |
Catalyst::Plugin::Authentication isn't a dependency, but is required for test. All tests ran fine after I installed it. Here is the output of the install command:
cpan[3]> install Catalyst::Plugin::Session
Running install for module 'Catalyst::Plugin::Session'
Running make for J/JJ/JJNAPIORK/Catalyst-Plugin-Session-0.39.tar.gz
Has already been unwrapped into directory /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00_basic_sanity.t ........... ok
t/01_setup.t .................. ok
t/03_flash.t .................. ok
t/05_semi_persistent_flash.t .. ok
t/cat_test.t .................. skipped: Need Catalyst::Plugin::Authentication
t/live_accessor.t ............. Can't locate Catalyst/Plugin/Authentication.pm in @INC (@INC contains: t/lib /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/inc /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/blib/lib /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/blib/arch /home/perl/lib/perl5/i686-linux-gnu-thread-multi-64int /home/perl/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/perl/lib/perl5/Class/Load.pm line 177.
Compilation failed in require at /home/perl/lib/perl5/Test/WWW/Mechanize/Catalyst.pm line 244.
Test::WWW::Mechanize::Catalyst::import("Test::WWW::Mechanize::Catalyst", "SessionTestApp") called at t/live_accessor.t line 24
main::BEGIN() called at t/live_accessor.t line 24
eval {...} called at t/live_accessor.t line 24
BEGIN failed--compilation aborted at t/live_accessor.t line 24.
# Looks like your test exited with 2 before it could output anything.
t/live_accessor.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
t/live_app.t .................. Can't locate Catalyst/Plugin/Authentication.pm in @INC (@INC contains: t/lib /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/inc /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/blib/lib /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/blib/arch /home/perl/lib/perl5/i686-linux-gnu-thread-multi-64int /home/perl/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/perl/lib/perl5/Class/Load.pm line 177.
Compilation failed in require at /home/perl/lib/perl5/Test/WWW/Mechanize/Catalyst.pm line 244.
Test::WWW::Mechanize::Catalyst::import("Test::WWW::Mechanize::Catalyst", "SessionTestApp") called at t/live_app.t line 22
main::BEGIN() called at t/live_app.t line 22
eval {...} called at t/live_app.t line 22
BEGIN failed--compilation aborted at t/live_app.t line 22.
t/live_app.t .................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/live_expiry_threshold.t ..... Can't locate Catalyst/Plugin/Authentication.pm in @INC (@INC contains: t/lib /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/inc /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/blib/lib /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/blib/arch /home/perl/lib/perl5/i686-linux-gnu-thread-multi-64int /home/perl/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/perl/lib/perl5/Class/Load.pm line 177.
Compilation failed in require at /home/perl/lib/perl5/Test/WWW/Mechanize/Catalyst.pm line 244.
Test::WWW::Mechanize::Catalyst::import("Test::WWW::Mechanize::Catalyst", "SessionExpiry") called at t/live_expiry_threshold.t line 22
main::BEGIN() called at t/live_expiry_threshold.t line 22
eval {...} called at t/live_expiry_threshold.t line 22
BEGIN failed--compilation aborted at t/live_expiry_threshold.t line 22.
t/live_expiry_threshold.t ..... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/live_session_fixation.t ..... Can't locate Catalyst/Plugin/Authentication.pm in @INC (@INC contains: t/lib /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/inc /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/blib/lib /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/blib/arch /home/perl/lib/perl5/i686-linux-gnu-thread-multi-64int /home/perl/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/perl/lib/perl5/Class/Load.pm line 177.
Compilation failed in require at /home/perl/lib/perl5/Test/WWW/Mechanize/Catalyst.pm line 244.
Test::WWW::Mechanize::Catalyst::import("Test::WWW::Mechanize::Catalyst", "SessionTestApp") called at t/live_session_fixation.t line 25
main::BEGIN() called at t/live_session_fixation.t line 25
eval {...} called at t/live_session_fixation.t line 25
BEGIN failed--compilation aborted at t/live_session_fixation.t line 25.
# Looks like your test exited with 2 before it could output anything.
t/live_session_fixation.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 10/10 subtests
t/live_verify_address.t ....... skipped: Catalyst::Plugin::Authentication is required for this test
t/live_verify_user_agent.t .... Can't locate Catalyst/Plugin/Authentication.pm in @INC (@INC contains: t/lib /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/inc /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/blib/lib /home/perl/.cpan/build/Catalyst-Plugin-Session-0.39-LXdB5M/blib/arch /home/perl/lib/perl5/i686-linux-gnu-thread-multi-64int /home/perl/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/perl/lib/perl5/Class/Load.pm line 177.
Compilation failed in require at /home/perl/lib/perl5/Test/WWW/Mechanize/Catalyst.pm line 244.
Test::WWW::Mechanize::Catalyst::import("Test::WWW::Mechanize::Catalyst", "SessionTestApp") called at t/live_verify_user_agent.t line 24
main::BEGIN() called at t/live_verify_user_agent.t line 24
eval {...} called at t/live_verify_user_agent.t line 24
BEGIN failed--compilation aborted at t/live_verify_user_agent.t line 24.
# Looks like your test exited with 2 before it could output anything.
t/live_verify_user_agent.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 12/12 subtests
t/session_valid.t ............. ok
Test Summary Report
-------------------
t/live_accessor.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/live_app.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/live_expiry_threshold.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/live_session_fixation.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 10 tests but ran 0.
t/live_verify_user_agent.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 12 tests but ran 0.
Files=12, Tests=40, 12 wallclock secs ( 0.07 usr 0.04 sys + 7.34 cusr 0.49 csys = 7.94 CPU)
Result: FAIL
Failed 5/12 test programs. 0/40 subtests failed.
make: *** [test_dynamic] Erreur 255
JJNAPIORK/Catalyst-Plugin-Session-0.39.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JJNAPIORK/Catalyst-Plugin-Session-0.39.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
JJNAPIORK/Catalyst-Plugin-Session-0.39.tar.gz: make_test NO