[libcxx-commits] [PATCH] D137134: [libc++][Android] XFAIL aligned_alloc and timespec_get tests

Ryan Prichard via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 2 14:55:05 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGcdde2706cf4a: [libc++][Android] XFAIL aligned_alloc and timespec_get tests (authored by rprichard).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137134/new/

https://reviews.llvm.org/D137134

Files:
  libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
  libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
  libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp


Index: libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
===================================================================
--- libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
+++ libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
@@ -17,6 +17,9 @@
 // unavailable until macOS 10.15
 // XFAIL: use_system_cxx_lib && 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)}}
+
 #include <ctime>
 #include <type_traits>
 
Index: libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
===================================================================
--- libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
+++ libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
@@ -18,6 +18,9 @@
 // ::aligned_alloc is not implemented on Windows
 // XFAIL: target={{.+}}-windows-{{.+}}
 
+// ::aligned_alloc is available starting with Android P (API 28)
+// XFAIL: target={{.+}}-android{{(eabi)?(21|22|23|24|25|26|27)}}
+
 #include <cstdlib>
 #include <type_traits>
 
Index: libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
===================================================================
--- libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
+++ libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
@@ -18,6 +18,9 @@
 // ::aligned_alloc is not implemented on Windows
 // XFAIL: target={{.+}}-windows-{{.+}}
 
+// ::aligned_alloc is available starting with Android P (API 28)
+// XFAIL: target={{.+}}-android{{(eabi)?(21|22|23|24|25|26|27)}}
+
 #include <stdlib.h>
 #include <type_traits>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137134.472779.patch
Type: text/x-patch
Size: 1882 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221102/074c510c/attachment.bin>


More information about the libcxx-commits mailing list