Skip to content

Commit 67d29fb

Browse files
authored
[libc++][AIX] Adjust support of timespec_get test (llvm#71827)
The function `timespec_get` is not available without an update to the time.h header in AIX 7.3 TL2 (7.3.2.*).
1 parent 4eb01f7 commit 67d29fb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@
1111

1212
// UNSUPPORTED: c++03, c++11, c++14
1313

14-
// XFAIL: LIBCXX-AIX-FIXME
15-
1614
// ::timespec_get is provided by the C library, but it's marked as
1715
// unavailable until macOS 10.15
1816
// XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx10.{{9|10|11|12|13|14}}
1917

2018
// ::timespec_get is available starting with Android Q (API 29)
2119
// XFAIL: target={{.+}}-android{{(eabi)?(21|22|23|24|25|26|27|28)}}
2220

21+
// ::timespec_get is available starting with AIX 7.3 TL2
22+
// XFAIL: target={{.+}}-aix{{7.2.*|7.3.0.*|7.3.1.*}}
23+
2324
#include <ctime>
2425
#include <type_traits>
2526

0 commit comments

Comments
 (0)