Subject: | Module doesn't pass its tests |
From a clean checkout (e.g. git clone
git://github.com/jasontang/catalyst-plugin-errorcatcher-activemq-stomp.git)
➔ make test
cp lib/Catalyst/Plugin/ErrorCatcher/ActiveMQ/Stomp.pm
blib/lib/Catalyst/Plugin/ErrorCatcher/ActiveMQ/Stomp.pm
PERL_DL_NONLAZY=1 /opt/xt/xt-perl/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-load.t
t/01.emit.activemq.stomp.t t/pod-coverage.t t/pod.t
t/00-load.t ................. 1/1 # Testing
Catalyst::Plugin::ErrorCatcher::ActiveMQ::Stomp 0.001000, Perl 5.014001,
/opt/xt/xt-perl/bin/perl
t/00-load.t ................. ok
t/01.emit.activemq.stomp.t .. 1/? [error] The sky is falling
[error] Unable to open lock file t/tmp/.lock at
/home/c.wright/development/catalyst-plugin-errorcatcher-activemq-stomp/blib/lib/Catalyst/Plugin/ErrorCatcher/ActiveMQ/Stomp.pm
line 164.
Can't open directory t/tmp: No such file or directory at
/home/c.wright/development/catalyst-plugin-errorcatcher-activemq-stomp/t/lib/Test/ActiveMQ.pm
line 126
# Tests were run but no plan was declared and done_testing() was not seen.
t/01.emit.activemq.stomp.t .. Dubious, test returned 2 (wstat 512, 0x200)
All 2 subtests passed
t/pod-coverage.t ............ 1/1
# Failed test 'Pod coverage on
Catalyst::Plugin::ErrorCatcher::ActiveMQ::Stomp'
# at /opt/xt/xt-perl/lib/site_perl/5.12.4/Test/Pod/Coverage.pm line 126.
# Coverage for Catalyst::Plugin::ErrorCatcher::ActiveMQ::Stomp is 33.3%,
with 2 naked subroutines:
# LOCK_EX
# LOCK_UN
# Looks like you failed 1 test of 1.
t/pod-coverage.t ............ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/pod.t ..................... ok
Test Summary Report
-------------------
t/01.emit.activemq.stomp.t (Wstat: 512 Tests: 2 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/pod-coverage.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=4, Tests=5, 2 wallclock secs ( 0.02 usr 0.01 sys + 1.22 cusr
0.20 csys = 1.45 CPU)
Result: FAIL
Failed 2/4 test programs. 1/5 subtests failed.
make: *** [test_dynamic] Error 255