From 44d5221adb414d0bd5c458be9f20a969ae4ac90d Mon Sep 17 00:00:00 2001 From: zhijian Date: Tue, 31 May 2022 14:20:34 -0400 Subject: [PATCH] [libc++][CI] AIX does not have alternative for time_put_byname Reviewers: David Tenty, Mark de Wever Differential Revision: https://reviews.llvm.org/D126376 --- .../category.time/locale.time.put.byname/put1.pass.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp b/libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp index c1c5d37..521dbb8 100644 --- a/libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp +++ b/libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/put1.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 @@ -83,7 +82,7 @@ int main(int, char**) cpp17_output_iterator iter = f.put(cpp17_output_iterator(str), ios, '*', &t, pat.data(), pat.data() + pat.size()); std::string ex(str, base(iter)); -#if defined(_WIN32) || defined(__APPLE__) +#if defined(_WIN32) || defined(__APPLE__) || defined(_AIX) // These platforms have no alternative assert(ex == "Today is \xE5\x9C\x9F\xE6\x9B\x9C\xE6\x97\xA5 which is the 6th day or alternatively 6."); #else -- 2.7.4