This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] localization testing
On 09/13/2010 09:49 PM, François Dumont wrote:
> The doc is not so bad already, it depends on how you interpret the
> "because of this, the libstdc++ testsuite will skip the named local
> tests". What about simply adding: "the libstdc++ testsuite will skip
> the named locale tests that are missing the "C" information". ? If it
> is ok, do you want me to resubmit the whole patch in addition to the
> doc part ?
I think the important point is that, after the patch, each test will be
skipped or not basing on the availability of the specific named locales
used by test. Just one or two sentences explaining this, I don't think
it's clear, right now.
>
>>> Tested under x86_64-linux. Some of the tests that was
>>> unsupported are now failing on my platform. Looks like I am missing
>>> the libstdc++ catalog saying that please stands for 'bitte' in german
>>> and 's'il vous plaît' in french. I have also a problem with a monetary
>>> format in money_put/put/char/9780-3.cc, with glibc 2.11.1 I should
>>> have '-12.345.678,90 EUR ' but I have '-EUR 12.345.678,90'. Nothing
>>> that makes this patch invalid.
>>>
>> The last issue is weird, doesn't happen with 2.11.2 here, and apparently
>> nobody noticed anything so far. Can you investigate a bit further
>> independently of the present patch? We could also allow both forms, we
>> did something similar in the past...
>>
> Ok I will try to understand the money format issue. What about the
> other, am I missing something, a libstdc++ catalog ?
To be really honest, I don't understand that issue at all and I have
never encountered that kind of problem: as far as I know with most Linux
installations normally either the locale data is ok out of the box, or
doing what our docs says is enough (I personally dealt with both
situations, in the past). Actually, I would be curious to know which
kind of Linux you are using ;)
Paolo.