Skip to content

Commit

Permalink
[libc++][AIX] Adjust support of timespec_get test (#71827)
Browse files Browse the repository at this point in the history
The function `timespec_get` is not available without an update to the
time.h header in AIX 7.3 TL2 (7.3.2.*).
  • Loading branch information
jakeegan authored Nov 9, 2023
1 parent 4eb01f7 commit 67d29fb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@

// 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}}

// ::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>

Expand Down

0 comments on commit 67d29fb

Please sign in to comment.