[libcxx-commits] [PATCH] D125923: [libc++][CI] fixed convert_thousands_sep_ru_RU for Russian in the libcxx/test/support/locale_helpers.h for AIX
Digger Lin via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu May 19 07:41:30 PDT 2022
DiggerLin updated this revision to Diff 430676.
DiggerLin added a comment.
git clang format
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
@@ -64,11 +64,11 @@
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.430676.patch
Type: text/x-patch
Size: 1890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220519/f3052f03/attachment.bin>
More information about the libcxx-commits
mailing list