locales fixes
François Dumont
frs.dumont@gmail.com
Mon Dec 8 22:53:00 GMT 2014
Hi
After having installed all necessary locales on my system I end up
with 4 failures. Here is a patch to fix them all.
For numpunct test I consider that checking value of numpunct::grouping()
result was not correct. libstdc++ doesn't control this value. I prefer
to just check that values returned by numpunct are consistent with how
numeric values are formatted.
For the others, regarding time_get, I found nothing really smart to do.
For 4.cc I simply had to remove some characters not present anymore. And
for 38081-1 and 38081-2, despite having glibc 2.19 it is still showing
previous values on my system. I even wonder if it has anything to do
with glibc version, it rather depends on the installed locale info, no ?
2014-12-08 François Dumont <fdumont@gcc.gnu.org>
* testsuite/22_locale/numpunct/members/char/3.cc: Check numpunct
returned
values are consistent with how numbers are formatted.
* testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Update expected
values.
* testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Don't
use new
values before glibc 2.20.
* testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
Tested under Linux x86_64.
François
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 22_locale.patch
Type: text/x-patch
Size: 4125 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20141208/f4ca9766/attachment.bin>
More information about the Libstdc++
mailing list