Subject: | install fails with Carp version > 1.23 |
gshank@gshank-laptop:~/Code/MooseX-Method-Signatures-0.37$ prove -lv t/errors.t
t/errors.t ..
ok 1 - Got an error
ok 2 - Sane error message for syntax error
ok 3 - No error
ok 4 - Redefined method warning
1..4
ok
All tests successful.
Files=1, Tests=4, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.50 cusr 0.04 csys = 0.56 CPU)
Result: PASS
gshank@gshank-laptop:~/Code/MooseX-Method-Signatures-0.37$ cpanm -S Carp
--> Working on Carp
Fetching http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Carp-1.25.tar.gz ... OK
Configuring Carp-1.25 ... OK
Building and testing Carp-1.25 ... OK
Successfully installed Carp-1.25 (upgraded from 1.23)
1 distribution installed
gshank@gshank-laptop:~/Code/MooseX-Method-Signatures-0.37$ prove -lv t/errors.t
t/errors.t ..
ok 1 - Got an error
ok 2 - Sane error message for syntax error
ok 3 - No error
not ok 4 - Redefined method warning
# Failed test 'Redefined method warning'
# at t/errors.t line 22.
# 'Method meth1 redefined on package main at /home/gshank/Code/MooseX-
Method-Signatures-0.37/t/lib/Redefined.pm line 9.
# '
# doesn't match '(?-xism:^Method meth1 redefined on package main at .*?\bRedefined.pm
line 9$)'
1..4
# Looks like you failed 1 test of 4.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
Test Summary Report
-------------------
t/errors.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 4
Non-zero exit status: 1
Files=1, Tests=4, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.52 cusr 0.02 csys = 0.57 CPU)
Result: FAIL