[libcxx-commits] [PATCH] D125927: [libc++][CI] fixed fixed "LOCALE_fr_FR_UTF_8" for my_facet for AIX
Digger Lin via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 18 13:51:13 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++.
fixed fixed "LOCALE_fr_FR_UTF_8" for my_facet for AIX
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D125927
Files:
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: libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp
===================================================================
--- libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp
+++ libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp
@@ -63,7 +63,7 @@
}
{
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";
Index: 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.pass.cpp
+++ libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp
@@ -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 @@
}
{
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";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125927.430491.patch
Type: text/x-patch
Size: 1553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220518/75bbbecb/attachment.bin>
More information about the libcxx-commits
mailing list