Skip Menu |
 

This queue is for tickets about the Tickit CPAN distribution.

Report information
The Basics
Id: 72614
Status: resolved
Priority: 0/
Queue: Tickit

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.12
Fixed in: 0.13



Subject: Unit tests dependent on locale settings
Download (untitled) / with headers
text/plain 2.9k
$ LANG=en_GB.UTF-8 ./Build test t/00use.t .................. ok t/01term-output.t .......... ok t/02term-outpen.t .......... ok t/03rect.t ................. ok t/05utils.t ................ ok t/06pen.t .................. ok t/07mockterm.t ............. ok t/08test.t ................. ok t/10rootwin.t .............. ok t/11window.t ............... ok t/12window-output.t ........ ok t/13window-focus.t ......... ok t/14window-input.t ......... ok t/15window-expose.t ........ ok t/16window-clipping.t ...... ok t/20widget.t ............... ok t/21widget-window.t ........ ok t/22widget-parent.t ........ ok t/23widget-input.t ......... ok t/30widget-static.t ........ ok t/31widget-entry-model.t ... ok t/32widget-entry-input.t ... ok t/33widget-entry-scroll.t .. ok t/40widget-box.t ........... ok t/41widget-hbox.t .......... ok t/41widget-vbox.t .......... ok t/42widget-frame.t ......... ok t/99pod.t .................. ok All tests successful. Files=28, Tests=581, 2 wallclock secs ( 0.11 usr 0.02 sys + 1.88 cusr 0.13 csys = 2.14 CPU) Result: PASS $ LANG=C ./Build test t/00use.t .................. ok t/01term-output.t .......... ok t/02term-outpen.t .......... ok t/03rect.t ................. ok t/05utils.t ................ 1/22 # Failed test 'textwidth combining' # at t/05utils.t line 17. # got: undef # expected: '4' # Failed test 'chars2cols combining' # at t/05utils.t line 22. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = '3' # Failed test 'cols2chars combining' # at t/05utils.t line 33. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = '3' Use of uninitialized value $start in subtraction (-) at /home/leo/src/perl/Tickit/blib/lib/Tickit/Utils.pm line 87. Use of uninitialized value $end in subtraction (-) at /home/leo/src/perl/Tickit/blib/lib/Tickit/Utils.pm line 87. Use of uninitialized value $start in substr at /home/leo/src/perl/Tickit/blib/lib/Tickit/Utils.pm line 87. # Failed test 'substrwidth combining within' # at t/05utils.t line 43. Wide character in print at /usr/share/perl/5.14/Test/Builder.pm line 1759. # got: '' # expected: 'café' Use of uninitialized value $start in subtraction (-) at /home/leo/src/perl/Tickit/blib/lib/Tickit/Utils.pm line 87. Use of uninitialized value $end in subtraction (-) at /home/leo/src/perl/Tickit/blib/lib/Tickit/Utils.pm line 87. Use of uninitialized value $start in substr at /home/leo/src/perl/Tickit/blib/lib/Tickit/Utils.pm line 87. # Failed test 'substrwidth combining after' # at t/05utils.t line 44. # got: '' # expected: 'table' # Looks like you failed 5 tests of 22. t/05utils.t ................ Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/22 subtests ... -- Paul Evans
Download (untitled) / with headers
text/plain 149b
Fixed upstream. Skip Unicode-requiring tests unless POSIX::setlocale() can set LC_CTYPE to some UTF-8 able locale. Will be in 0.13 -- Paul Evans
Released as 0.13. -- Paul Evans


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.