Subject: | Test suite fails |
Date: | Sun, 22 Nov 2009 22:43:58 +0100 |
To: | bug-EBook-Tools [...] rt.cpan.org |
From: | Emmanuel Seyman <emmanuel.seyman [...] club-internet.fr> |
The test suite fails on Fedora 12. Strangely enough, I had no problem
passing it on Fedora 11.
[manu@orient EBook-Tools-0.4.6]$ make test
/usr/bin/perl Build --makefile_env_macros 1 test
t/00-errorhandling.t ....... ok
t/01-init_and_accessors.t .. 1/79
not well-formed (invalid token) at line 24, column 25, byte 1230 at
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/XML/Parser.pm
line 187
at /home/manu/build/EBook-Tools-0.4.6/blib/lib/EBook/Tools.pm line 672
# Looks like you planned 79 tests but ran 7.
# Looks like your test exited with 255 just after 7.
t/01-init_and_accessors.t .. Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 72/79 subtests
t/02-fix_methods.t ......... ok
t/10-fix_datestring.t ...... ok
t/15-misc_procedures.t ..... ok
t/20-unpack.t .............. 1/48 Wide character in print at
/usr/lib/perl5/vendor_perl/5.10.0/XML/Twig.pm line 7774.
Wide character in print at /usr/lib/perl5/vendor_perl/5.10.0/XML/Twig.pm
line 7774.
not well-formed (invalid token) at line 13, column 27, byte 689 at
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/XML/Parser.pm
line 187
at /home/manu/build/EBook-Tools-0.4.6/blib/lib/EBook/Tools.pm line 672
# Looks like you planned 48 tests but ran 43.
# Looks like your test exited with 255 just after 43.
t/20-unpack.t .............. Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 5/48 subtests
t/21-mobi_languages.t ...... ok
t/25-imp.t ................. 1/84 EBook::Tools::IMP::image(): no image
type specified!
at t/25-imp.t line 54
EBook::Tools::IMP::image(): ID not specified!
at t/25-imp.t line 55
t/25-imp.t ................. ok
t/40-lzss.t ................ ok
t/50-user_scripts.t ........ 7/18
not well-formed (invalid token) at line 28, column 27, byte 1546 at
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/XML/Parser.pm
line 187
at ../lib/EBook/Tools.pm line 672
t/50-user_scripts.t ........ 9/18
# Failed test 'ebook genepub exits successfully'
# at t/50-user_scripts.t line 75.
# got: '255'
# expected: '0'
# Failed test 'ebook genepub created the epub book'
# at t/50-user_scripts.t line 76.
not well-formed (invalid token) at line 28, column 27, byte 1546 at
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/XML/Parser.pm
line 187
at ../lib/EBook/Tools.pm line 672
t/50-user_scripts.t ........ 11/18
# Failed test 'ebook fix -d testdir exits successfully'
# at t/50-user_scripts.t line 83.
# got: '255'
# expected: '0'
# Failed test 'ebook fix -d testdir created file in correct place'
# at t/50-user_scripts.t line 84.
t/50-user_scripts.t ........ 13/18
not well-formed (invalid token) at line 24, column 27, byte 1333 at
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/XML/Parser.pm
line 187
at /home/manu/build/EBook-Tools-0.4.6/blib/lib/EBook/Tools.pm line 672
# Looks like you planned 18 tests but ran 14.
# Looks like you failed 4 tests of 14 run.
# Looks like your test exited with 255 just after 14.
t/50-user_scripts.t ........ Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 8/18 subtests
t/98-pod.t ................. ok
t/99-pod_coverage.t ........ ok
Test Summary Report
-------------------
t/01-init_and_accessors.t (Wstat: 65280 Tests: 7 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 79 tests but ran 7.
t/20-unpack.t (Wstat: 65280 Tests: 43 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 48 tests but ran 43.
t/50-user_scripts.t (Wstat: 65280 Tests: 14 Failed: 4)
Failed tests: 9-12
Non-zero exit status: 255
Parse errors: Bad plan. You planned 18 tests but ran 14.
Files=12, Tests=410, 17 wallclock secs ( 0.23 usr 0.04 sys + 13.87 cusr
1.57 csys = 15.71 CPU)
Result: FAIL
Failed 3/12 test programs. 4/410 subtests failed.
make: *** [test] Erreur 255