Skip Menu |

This queue is for tickets about the HTML-Template-Plugin-Dot-Helpers CPAN distribution.

Report information
The Basics
Id: 104019
Status: new
Priority: 0/
Queue: HTML-Template-Plugin-Dot-Helpers

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.06
Fixed in: (no value)



Subject: Tests fail with perl 5.21.x and German locale
With perl 5.21.x, the test suite fails if a German locale is in effect. On the same systems the tests pass with an English (or C) locale. It seems that the problem is triggered by the decimal radix character not being a dot. Output from '/usr/bin/make test': PERL_DL_NONLAZY=1 "/bbbike/perl-5.21.10/bin/perl5.21.10" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Subroutine round redefined at /opt/perl-5.21.10/lib/site_perl/5.21.10/Number/Format.pm line 473. # Testing HTML::Template::Plugin::Dot::Helpers 0.06, Perl 5.021010, /bbbike/perl-5.21.10/bin/perl5.21.10 t/00-load.t ............... ok Subroutine round redefined at /opt/perl-5.21.10/lib/site_perl/5.21.10/Number/Format.pm line 473. Error invoking HTML::Template::Plugin::Dot::Helpers::Number=HASH(0xda2a18)->format_picture(3105345.2395 #,###,###.##): Only one decimal separator permitted in picture at /home/eserte/.cpan/build/HTML-Template-Pluggable-0.17-dCARah/blib/lib/HTML/Template/Plugin/Dot.pm line 233. at /opt/perl-5.21.10/lib/site_perl/5.21.10/Class/Trigger.pm line 74. # Failed test at t/number.t line 24. # '=3105345.2395' # doesn't match '(?^:3,10)' Error invoking HTML::Template::Plugin::Dot::Helpers::Number=HASH(0xe0c7b8)->format_picture(3105345.2395 #,###,###.##): Only one decimal separator permitted in picture at /home/eserte/.cpan/build/HTML-Template-Pluggable-0.17-dCARah/blib/lib/HTML/Template/Plugin/Dot.pm line 233. at /opt/perl-5.21.10/lib/site_perl/5.21.10/Class/Trigger.pm line 74. # Failed test at t/number.t line 36. # '=3105345.2395' # doesn't match '(?^:3,10)' Error invoking HTML::Template::Plugin::Dot::Helpers::Number=HASH(0xeac408)->format_picture(1.05345 #,###,###.##): Only one decimal separator permitted in picture at /home/eserte/.cpan/build/HTML-Template-Pluggable-0.17-dCARah/blib/lib/HTML/Template/Plugin/Dot.pm line 233. at /opt/perl-5.21.10/lib/site_perl/5.21.10/Class/Trigger.pm line 74. # Looks like you failed 2 tests of 9. t/number.t ................ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/9 subtests Subroutine round redefined at /opt/perl-5.21.10/lib/site_perl/5.21.10/Number/Format.pm line 473. t/pod-coverage.t .......... ok t/pod.t ................... ok t/release-pod-coverage.t .. skipped: these tests are for release candidate testing t/release-pod-syntax.t .... skipped: these tests are for release candidate testing Test Summary Report ------------------- t/number.t (Wstat: 512 Tests: 9 Failed: 2) Failed tests: 5-6 Non-zero exit status: 2 Files=6, Tests=14, 0 wallclock secs ( 0.02 usr 0.03 sys + 0.23 cusr 0.04 csys = 0.32 CPU) Result: FAIL Failed 1/6 test programs. 2/14 subtests failed. make: *** [test_dynamic] Fehler 255