[libcxx-commits] [libcxx] 961914e - [libc++] Mark test failing with macos < 10.13 as unsupported

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 13 14:39:17 PDT 2020


Author: Louis Dionne
Date: 2020-04-13T17:39:05-04:00
New Revision: 961914eeb95f3989b02febd90c56b35b1b31aed8

URL: https://github.com/llvm/llvm-project/commit/961914eeb95f3989b02febd90c56b35b1b31aed8
DIFF: https://github.com/llvm/llvm-project/commit/961914eeb95f3989b02febd90c56b35b1b31aed8.diff

LOG: [libc++] Mark test failing with macos < 10.13 as unsupported

Added: 
    

Modified: 
    libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp b/libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp
index 09cfc74ec190..5a660d1829b7 100644
--- a/libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp
+++ b/libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp
@@ -8,6 +8,15 @@
 
 // UNSUPPORTED: c++98, c++03
 
+// Aligned allocations are not supported on macOS < 10.13
+// Note: use 'unsupported' instead of 'xfail' to ensure
+// we won't pass prior to c++17.
+// UNSUPPORTED: with_system_cxx_lib=macosx10.12
+// UNSUPPORTED: with_system_cxx_lib=macosx10.11
+// UNSUPPORTED: with_system_cxx_lib=macosx10.10
+// UNSUPPORTED: with_system_cxx_lib=macosx10.9
+
+
 // <memory>
 
 // template <class T>


        


More information about the libcxx-commits mailing list