[Koha-bugs] [Bug 14602] Fix failing t/Creators.t test
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Jul 25 10:15:07 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14602
--- Comment #1 from Mason James <mtj at kohaaloha.com> ---
t/Creators.t always fails, from a git repo on latest master (3b23fb8)
mason at xen1:~/g/k/3.16.x$ sudo koha-shell -c ' export
PERL5LIB=/home/mason/g/k/3.16.x ; cd /home/mason/g/k/3.16.x ; prove -v
t/Creators.t ' k316x1
t/Creators.t ..
1..16
ok 1 - use C4::Creators;
ok 2 - use C4::Creators::PDF;
ok 3 - testing new() works
ok 4 - testing pdf file created
ok 5 - testing Add() works
ok 6 - testing Bookmark() works
ok 7 - testing Compress() works
ok 8 - testing Font() works
ok 9 - testing FontSize() is set to 12 by default
ok 10 - testing FontSize() can be set to a different value
ok 11 - testing Page() works
ok 12 - testing StrWidth() returns correct point width
ok 13 - testing Text() writes from a given x-value
ok 14 - testing Text() writes to the correct x-value
print() on closed filehandle $fh at /home/mason/g/k/3.16.x/C4/Creators/PDF.pm
line 65, <$fh> chunk 1.
ok 15 - testing End() works
not ok 16 - test.pdf created
# Failed test 'test.pdf created'
# at t/Creators.t line 59.
# Looks like you failed 1 test of 16.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/16 subtests
Test Summary Report
-------------------
t/Creators.t (Wstat: 256 Tests: 16 Failed: 1)
Failed test: 16
Non-zero exit status: 1
Files=1, Tests=16, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.47 cusr 0.07
csys = 0.58 CPU)
Result: FAIL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list