[libcxx-commits] [libcxx] 44d5221 - [libc++][CI] AIX does not have alternative for time_put_byname

via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 31 11:20:56 PDT 2022


Author: zhijian
Date: 2022-05-31T14:20:34-04:00
New Revision: 44d5221adb414d0bd5c458be9f20a969ae4ac90d

URL: https://github.com/llvm/llvm-project/commit/44d5221adb414d0bd5c458be9f20a969ae4ac90d
DIFF: https://github.com/llvm/llvm-project/commit/44d5221adb414d0bd5c458be9f20a969ae4ac90d.diff

LOG: [libc++][CI] AIX does not have alternative for time_put_byname

Reviewers: David Tenty, Mark de Wever

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

Added: 
    

Modified: 
    libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp

Removed: 
    


################################################################################
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 c1c5d37b1d47..521dbb810fdf 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<char*> iter =
             f.put(cpp17_output_iterator<char*>(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


        


More information about the libcxx-commits mailing list