[libcxx-commits] [PATCH] D125801: [libc++][CI] fixed a return curr_symbol() 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
Tue May 17 08:53:24 PDT 2022


DiggerLin created this revision.
DiggerLin added reviewers: hubert.reinterpretcast, daltenty.
Herald added a subscriber: krytarowski.
Herald added a project: All.
DiggerLin requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

fixed a return curr_symbol() for Russian in the libcxx/test/support/locale_helpers.h  for AIX


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125801

Files:
  libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.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
@@ -95,7 +95,7 @@
     return MKSTR("\u0440\u0443\u0431");
   else
     return MKSTR("\u20BD"); // U+20BD RUBLE SIGN
-#elif defined(_WIN32) || defined(__FreeBSD__)
+#elif defined(_WIN32) || defined(__FreeBSD__) || defined(_AIX)
   return MKSTR("\u20BD"); // U+20BD RUBLE SIGN
 #else
   return MKSTR("\u0440\u0443\u0431.");
Index: libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
===================================================================
--- libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
+++ libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
@@ -8,7 +8,6 @@
 //
 // NetBSD does not support LC_MONETARY at the moment
 // XFAIL: netbsd
-// XFAIL: LIBCXX-AIX-FIXME
 
 // REQUIRES: locale.en_US.UTF-8
 // REQUIRES: locale.fr_FR.UTF-8


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125801.430084.patch
Type: text/x-patch
Size: 1121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220517/d77ea8f5/attachment.bin>


More information about the libcxx-commits mailing list