Skip Menu |
 

This queue is for tickets about the libintl-perl CPAN distribution.

Report information
The Basics
Id: 47968
Status: resolved
Priority: 0/
Queue: libintl-perl

People
Owner: Nobody in particular
Requestors: tove [...] veller.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.23
Fixed in: 1.24



Subject: test fails if other de locales than de_AT are installed
Date: Fri, 17 Jul 2009 10:04:25 +0200
To: bug-libintl-perl [...] rt.cpan.org
From: Torsten Veller <tove [...] veller.net>
Download (untitled) / with headers
text/plain 2.3k
Hi i have a problem with the tests of libintl-perl-1.20 and my locale settings. The test fails if some de locale is installed but not de_AT: | $ locale -a | C | de_AT | de_AT.iso88591 | de_DE | de_DE.iso88591 | deutsch | en_US | en_US.iso88591 | german | POSIX => tests successful Then remove the AT locale. | $ locale -a | C | de_DE | de_DE.iso88591 | deutsch | en_US | en_US.iso88591 | german | POSIX => tests fail ./tests/03_tester_david_xs................perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "de_AT", LC_ALL = "de_AT", LC_MESSAGES = "de_AT", LANG = "de_AT" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). ./tests/03_tester_david_xs................1/6 # Test 5 got: "View" (./tests/03_tester_david_xs.t at line 54) # Expected: "Anzeigen" # ./tests/03_tester_david_xs.t line 54 is: ok dcgettext (existing => 'View', LC_MESSAGES), 'Anzeigen'; # Test 6 got: "Which folder would you like to view?\4View" (./tests/03_tester_david_xs.t at line 57) # Expected: "Ansicht" # ./tests/03_tester_david_xs.t line 57 is: ok dcgettext (existing => "Which folder would you like to view?\004View", ./tests/03_tester_david_xs................ Failed 2/6 subtests [...] Test Summary Report ------------------- ./tests/03_tester_david_xs.t (Wstat: 0 Tests: 6 Failed: 2) Failed tests: 5-6 ./tests/03dcnpgettext_xs.t (Wstat: 0 Tests: 95 Failed: 51) Failed tests: 33-42, 55-95 ./tests/03dcpgettext_xs.t (Wstat: 0 Tests: 10 Failed: 4) Failed tests: 5-6, 8, 10 ./tests/03dnpgettext_xs.t (Wstat: 0 Tests: 95 Failed: 51) Failed tests: 33-42, 55-95 ./tests/03dpgettext_xs.t (Wstat: 0 Tests: 9 Failed: 3) Failed tests: 5-6, 8 ./tests/03ngettext_xs.t (Wstat: 0 Tests: 88 Failed: 41) Failed tests: 48-88 ./tests/03npgettext_xs.t (Wstat: 0 Tests: 99 Failed: 51) Failed tests: 35-44, 59-99 ./tests/03pgettext_xs.t (Wstat: 0 Tests: 8 Failed: 3) Failed tests: 5-7 Files=178, Tests=2274, 17 wallclock secs ( 0,99 usr 0,27 sys + 13,06 cusr 0,88 csys = 15,20 CPU) Result: FAIL Then remove all the de locales. | $ locale -a | C | en_US | en_US.iso88591 | POSIX => noisy ("Setting locale failed...") but successful Best regards
I'll fix that in the next major version.
Download (untitled) / with headers
text/plain 143b
On 2013-01-14 11:31:35, GUIDO wrote: Show quoted text
> I'll fix that in the next major version.
Unfortunately it seems that 1.23 still has the same problem.
Fixed in git
Fixed with 1.24
Download (untitled) / with headers
text/plain 183b
On 2015-04-08 07:23:36, GUIDO wrote: Show quoted text
> Fixed with 1.24
Still there are failures with 1.24. Example report: http://www.cpantesters.org/cpan/report/3242f830-ddbc-11e4-85ac-501fe0bfc7aa
Download (untitled) / with headers
text/plain 254b
Am Sa 11. Apr 2015, 08:53:49, SREZIC schrieb: Show quoted text
> Still there are failures with 1.24. Example report: > http://www.cpantesters.org/cpan/report/3242f830-ddbc-11e4-85ac-501fe0bfc7aa
I have to check again. Unfortunately, this is a little bit hard to test.
Download (untitled) / with headers
text/plain 139b
Should be fixed in 1.25. I forgot (or thought it was unnecessary?) to check for the locale de_AT to be installed in the failed test cases.


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.