[Koha-bugs] [Bug 5327] Unit tests required for all C4 modules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 16 15:48:07 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5327

--- Comment #78 from Paul Poulain <paul.poulain at biblibre.com> 2011-12-16 14:48:07 UTC ---
About the 2 patches TTParser:

They make translatable-template.t fail:

prove xt/author/translatable-templates.t
xt/author/translatable-templates.t .. 1/2 
#   Failed test 'opac templates are translatable'
#   at xt/author/translatable-templates.t line 54.
# Can't locate object method "type" via package "C4::TTParser" at
TmplTokenizer.pm line 324, <INPUT> line 1.
# 
# tmpl_process3.pl: ERROR: Text extraction failed: ./xgettext.pl: Ioctl()
inappropré pour un périphérique
# 
# tmpl_process3.pl: ERROR: Will not run msgmerge
# 
xt/author/translatable-templates.t .. 2/2 
#   Failed test 'intranet templates are translatable'
#   at xt/author/translatable-templates.t line 54.
# Can't locate object method "type" via package "C4::TTParser" at
TmplTokenizer.pm line 324, <INPUT> line 1.
# 
# tmpl_process3.pl: ERROR: Text extraction failed: ./xgettext.pl: Ioctl()
inappropré pour un périphérique
# 
# tmpl_process3.pl: ERROR: Will not run msgmerge
# 
# Looks like you failed 2 tests of 2.
xt/author/translatable-templates.t .. Dubious, test returned 2 (wstat 512,
0x200)
Failed 2/2 subtests 

Test Summary Report
-------------------
xt/author/translatable-templates.t (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
Files=1, Tests=2,  1 wallclock secs ( 0.04 usr  0.00 sys +  0.42 cusr  0.06
csys =  0.52 CPU)


when switching back to master, everything work fine:
prove xt/author/translatable-templates.t
xt/author/translatable-templates.t .. ok   
All tests successful.


Rejecting those patches for instance

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list