[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
Wed Feb 15 13:53:40 CET 2012


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

--- Comment #171 from Paul Poulain <paul.poulain at biblibre.com> 2012-02-15 12:53:40 UTC ---
Comment on attachment 7593
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7593
Added coverage to unit test for TTParser

Un-obsoleting those patches this one and
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7592

After pushing them jenkins became unstable again.
prove xt/author_translatable_templates.t fails:

13:51 ~/koha.dev/koha-community (master $% u=)$ 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
# 

#   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,  0 wallclock secs ( 0.04 usr  0.00 sys +  0.46 cusr  0.04
csys =  0.54 CPU)
Result: FAIL

Reverting them make this test pass.

I've reverted the 2 patches

-- 
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