Subject: | make test fails |
hugh@hugh-desktop:~$ sudo cpan -t Business:ISBN
Going to read '/root/.cpan/Metadata'
Database was generated on Tue, 15 Jan 2013 15:17:04 GMT
Running test for module 'Business::ISBN'
Running make for B/BD/BDFOY/Business-ISBN-2.05.tar.gz
Checksum for /root/.cpan/sources/authors/id/B/BD/BDFOY/Business-ISBN-
2.05.tar.gz ok
CPAN.pm: Going to build B/BD/BDFOY/Business-ISBN-2.05.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Business::ISBN
Writing MYMETA.yml
cp lib/ISBN10.pm blib/lib/Business/ISBN10.pm
cp lib/ISBN13.pm blib/lib/Business/ISBN13.pm
cp lib/ISBN.pm blib/lib/Business/ISBN.pm
Manifying blib/man3/ISBN10.3pm
Manifying blib/man3/ISBN13.3pm
Manifying blib/man3/ISBN.3pm
BDFOY/Business-ISBN-2.05.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/albania.t .............. ok
t/constants.t ............ defined(%hash) is deprecated at t/constants.t
line 9.
(Maybe you should just omit the defined()?)
t/constants.t ............ ok
t/interface.t ............ ok
t/isbn10.t ............... 1/?
# Failed test 'Bad group code [9997022576] is invalid'
# at t/isbn10.t line 101.
# got: '-1'
# expected: '-2'
#
# Checking ISBNs... (this may take a bit)
t/isbn10.t ............... 38/? #
# Checking bad ISBNs... (this should be fast)
# Looks like you failed 1 test of 39.
t/isbn10.t ............... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/39 subtests
t/isbn13.t ............... 1/?
# Failed test 'Bad group code [978-9997022576] is invalid'
# at t/isbn13.t line 130.
# got: '-1'
# expected: '-2'
#
# Checking ISBN13s... (this may take a bit)
#
# Checking bad ISBN13s... (this should be fast)
# Looks like you failed 1 test of 41.
t/isbn13.t ............... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/41 subtests
t/load.t ................. ok
t/png_barcode.t .......... ok
t/pod.t .................. ok
t/pod_coverage.t ......... ok
t/valid_isbn_checksum.t .. ok
t/xisbn10.t .............. ok
Test Summary Report
-------------------
t/isbn10.t (Wstat: 256 Tests: 39 Failed: 1)
Failed test: 33
Non-zero exit status: 1
t/isbn13.t (Wstat: 256 Tests: 41 Failed: 1)
Failed test: 35
Non-zero exit status: 1
Files=11, Tests=142, 10 wallclock secs ( 0.11 usr 0.02 sys + 5.63 cusr
0.10 csys = 5.86 CPU)
Result: FAIL
Failed 2/11 test programs. 2/142 subtests failed.
make: *** [test_dynamic] Error 255
BDFOY/Business-ISBN-2.05.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module,
try:
reports BDFOY/Business-ISBN-2.05.tar.gz
hugh@hugh-desktop:~$