[libcxx-commits] [PATCH] D125923: [libc++][CI] fixed convert_thousands_sep_ru_RU for Russian in the libcxx/test/support/locale_helpers.h for AIX
Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 31 10:57:00 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG248287fe0a77: [libc++][CI] fixed convert_thousands_sep_ru_RU for Russian in theā¦ (authored by zhijian <zhijian at ca.ibm.com>).
Changed prior to commit:
https://reviews.llvm.org/D125923?vs=430676&id=433139#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125923/new/
https://reviews.llvm.org/D125923
Files:
libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp
libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp
libcxx/test/support/locale_helpers.h
Index: libcxx/test/support/locale_helpers.h
===================================================================
--- libcxx/test/support/locale_helpers.h
+++ libcxx/test/support/locale_helpers.h
@@ -60,15 +60,15 @@
}
// GLIBC 2.27 uses U+202F NARROW NO-BREAK SPACE as a thousands separator.
-// FreeBSD and Windows use U+00A0 NO-BREAK SPACE.
+// FreeBSD, AIX and Windows use U+00A0 NO-BREAK SPACE.
std::wstring convert_thousands_sep_ru_RU(std::wstring const& in) {
#if defined(TEST_HAS_GLIBC)
return convert_thousands_sep(in, L'\u202F');
-#elif defined(__FreeBSD__) || defined(_WIN32)
+# elif defined(__FreeBSD__) || defined(_WIN32) || defined(_AIX)
return convert_thousands_sep(in, L'\u00A0');
-#else
+# else
return in;
-#endif
+# endif
}
std::wstring negate_en_US(std::wstring s) {
Index: libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp
===================================================================
--- libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp
+++ libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp
@@ -12,7 +12,6 @@
// REQUIRES: locale.ru_RU.UTF-8
// XFAIL: glibc-old-ru_RU-decimal-point
-// XFAIL: LIBCXX-AIX-FIXME
// <locale>
Index: libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp
===================================================================
--- libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp
+++ libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp
@@ -12,7 +12,6 @@
// REQUIRES: locale.ru_RU.UTF-8
// XFAIL: glibc-old-ru_RU-decimal-point
-// XFAIL: LIBCXX-AIX-FIXME
// <locale>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125923.433139.patch
Type: text/x-patch
Size: 2077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220531/c65e1aa0/attachment.bin>
More information about the libcxx-commits
mailing list