[libcxx] r340427 - Disable the aligned allocation test on old mac versions instead of XFAILing it

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 22 10:47:41 PDT 2018


Author: rnk
Date: Wed Aug 22 10:47:41 2018
New Revision: 340427

URL: http://llvm.org/viewvc/llvm-project?rev=340427&view=rev
Log:
Disable the aligned allocation test on old mac versions instead of XFAILing it

It looks like this test XPASSes when the deployment target is older than
the OS of the system the test is running on. It looks like we run the
tests with -mmacosx-version-min=10.12, and that makes the test expect to
fail, but it passes.

Modified:
    libcxx/trunk/test/libcxx/memory/aligned_allocation_macro.pass.cpp

Modified: libcxx/trunk/test/libcxx/memory/aligned_allocation_macro.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/memory/aligned_allocation_macro.pass.cpp?rev=340427&r1=340426&r2=340427&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/memory/aligned_allocation_macro.pass.cpp (original)
+++ libcxx/trunk/test/libcxx/memory/aligned_allocation_macro.pass.cpp Wed Aug 22 10:47:41 2018
@@ -10,12 +10,12 @@
 // UNSUPPORTED: c++98, c++03, c++11, c++14
 
 // aligned allocation functions are not provided prior to macosx10.13
-// XFAIL: macosx10.12
-// XFAIL: macosx10.11
-// XFAIL: macosx10.10
-// XFAIL: macosx10.9
-// XFAIL: macosx10.8
-// XFAIL: macosx10.7
+// UNSUPPORTED: macosx10.12
+// UNSUPPORTED: macosx10.11
+// UNSUPPORTED: macosx10.10
+// UNSUPPORTED: macosx10.9
+// UNSUPPORTED: macosx10.8
+// UNSUPPORTED: macosx10.7
 
 #include <new>
 




More information about the cfe-commits mailing list