[libcxx-commits] [PATCH] D126474: [libc++][CI][AIX] change grouping() return value of std::moneypunct_byname for en_US.UTF-8

Digger Lin via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 26 07:39:07 PDT 2022


DiggerLin created this revision.
DiggerLin added reviewers: hubert.reinterpretcast, daltenty, Mordante.
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++.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126474

Files:
  libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping.pass.cpp


Index: libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping.pass.cpp
===================================================================
--- libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping.pass.cpp
+++ libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping.pass.cpp
@@ -10,7 +10,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
@@ -88,7 +87,7 @@
     }
 #endif
 
-#ifdef _WIN32
+#if defined( _WIN32) || defined(_AIX)
     std::string us_grouping = "\3";
 #else
     std::string us_grouping = "\3\3";
@@ -131,7 +130,7 @@
     }
 #endif
 
-#ifdef _WIN32
+#if defined( _WIN32) || defined(_AIX)
     std::string ru_grouping = "\3";
 #else
     std::string ru_grouping = "\3\3";


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126474.432283.patch
Type: text/x-patch
Size: 943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220526/cd3d9f1e/attachment.bin>


More information about the libcxx-commits mailing list