From: zhijian Date: Tue, 31 May 2022 18:20:34 +0000 (-0400) Subject: [libc++][CI] AIX does not have alternative for time_put_byname X-Git-Tag: upstream/15.0.7~6292 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=44d5221adb414d0bd5c458be9f20a969ae4ac90d;p=platform%2Fupstream%2Fllvm.git [libc++][CI] AIX does not have alternative for time_put_byname Reviewers: David Tenty, Mark de Wever Differential Revision: https://reviews.llvm.org/D126376 --- 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