Subject: | Unit tests dependent on locale settings |
$ 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