[libcxx-commits] [libcxx] 4ac0589 - [libc++][CI] fixed a return curr_symbol() for Russian in the libcxx/test/support/locale_helpers.h for AIX
    via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Wed May 18 12:47:18 PDT 2022
    
    
  
Author: zhijian
Date: 2022-05-18T15:46:52-04:00
New Revision: 4ac0589122830fc6d90e0ea091300c0b979a42dc
URL: https://github.com/llvm/llvm-project/commit/4ac0589122830fc6d90e0ea091300c0b979a42dc
DIFF: https://github.com/llvm/llvm-project/commit/4ac0589122830fc6d90e0ea091300c0b979a42dc.diff
LOG: [libc++][CI] fixed a return curr_symbol() for Russian in the libcxx/test/support/locale_helpers.h for AIX
Summary:
fixed a return curr_symbol() for Russian in the libcxx/test/support/locale_helpers.h for AIX
Reviewers:  David Tenty,Mark de Wever
Differential Revision: https://reviews.llvm.org/D125801
Added: 
    
Modified: 
    libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
    libcxx/test/support/locale_helpers.h
Removed: 
    
################################################################################
diff  --git a/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp b/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
index 976714dd0f34a..620703ed64762 100644
--- a/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
+++ b/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
diff  --git a/libcxx/test/support/locale_helpers.h b/libcxx/test/support/locale_helpers.h
index 782e0e4e1e843..c71a74b27b34e 100644
--- a/libcxx/test/support/locale_helpers.h
+++ b/libcxx/test/support/locale_helpers.h
@@ -95,7 +95,7 @@ MultiStringType currency_symbol_ru_RU() {
     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.");
        
    
    
More information about the libcxx-commits
mailing list