[libc++][CI] fixed "LOCALE_fr_FR_UTF_8" for my_facet for AIX
authorzhijian <zhijian@ca.ibm.com>
Tue, 31 May 2022 18:12:01 +0000 (14:12 -0400)
committerzhijian <zhijian@ca.ibm.com>
Tue, 31 May 2022 18:12:01 +0000 (14:12 -0400)
SUMMARY:

fixed "LOCALE_fr_FR_UTF_8" for my_facet for AIX

Reviewers: David Tenty, Mark de Wever

Differential Revision: https://reviews.llvm.org/D125927

libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp
libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp

index a3ae925..acb1e1f 100644 (file)
@@ -8,7 +8,6 @@
 //
 // NetBSD does not support LC_TIME at the moment
 // XFAIL: netbsd
-// XFAIL: LIBCXX-AIX-FIXME
 
 // REQUIRES: locale.en_US.UTF-8
 // REQUIRES: locale.fr_FR.UTF-8
@@ -61,7 +60,7 @@ int main(int, char**)
     }
     {
         const my_facet f(LOCALE_fr_FR_UTF_8, 1);
-#if defined(_WIN32) || defined(TEST_HAS_GLIBC)
+#if defined(_WIN32) || defined(TEST_HAS_GLIBC) || defined(_AIX)
         const char in[] = "10/06/2009";
 #else
         const char in[] = "10.06.2009";
index 25a718e..3e20193 100644 (file)
@@ -10,7 +10,6 @@
 // XFAIL: netbsd
 
 // XFAIL: no-wide-characters
-// XFAIL: LIBCXX-AIX-FIXME
 
 // REQUIRES: locale.en_US.UTF-8
 // REQUIRES: locale.fr_FR.UTF-8
@@ -63,7 +62,7 @@ int main(int, char**)
     }
     {
         const my_facet f(LOCALE_fr_FR_UTF_8, 1);
-#if defined(_WIN32) || defined(TEST_HAS_GLIBC)
+#if defined(_WIN32) || defined(TEST_HAS_GLIBC) || defined(_AIX)
         const wchar_t in[] = L"10/06/2009";
 #else
         const wchar_t in[] = L"10.06.2009";