[libcxx-commits] [libcxx] 67d29fb - [libc++][AIX] Adjust support of timespec_get test (#71827)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 9 11:05:36 PST 2023


Author: Jake Egan
Date: 2023-11-09T09:05:32-10:00
New Revision: 67d29fbd497c9f92d304841d4cd65534b3b61cee

URL: https://github.com/llvm/llvm-project/commit/67d29fbd497c9f92d304841d4cd65534b3b61cee
DIFF: https://github.com/llvm/llvm-project/commit/67d29fbd497c9f92d304841d4cd65534b3b61cee.diff

LOG: [libc++][AIX] Adjust support of timespec_get test (#71827)

The function `timespec_get` is not available without an update to the
time.h header in AIX 7.3 TL2 (7.3.2.*).

Added: 
    

Modified: 
    libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp b/libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
index 9a512f6ccfbd32e..04c4c77edd5ed3d 100644
--- a/libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
+++ b/libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
@@ -11,8 +11,6 @@
 
 // UNSUPPORTED: c++03, c++11, c++14
 
-// XFAIL: LIBCXX-AIX-FIXME
-
 // ::timespec_get is provided by the C library, but it's marked as
 // unavailable until macOS 10.15
 // XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx10.{{9|10|11|12|13|14}}
@@ -20,6 +18,9 @@
 // ::timespec_get is available starting with Android Q (API 29)
 // XFAIL: target={{.+}}-android{{(eabi)?(21|22|23|24|25|26|27|28)}}
 
+// ::timespec_get is available starting with AIX 7.3 TL2
+// XFAIL: target={{.+}}-aix{{7.2.*|7.3.0.*|7.3.1.*}}
+
 #include <ctime>
 #include <type_traits>
 


        


More information about the libcxx-commits mailing list