[libcxx] r347875 - [libcxx] More fixes to XFAILs for aligned allocation tests for macosx 10.13

Louis Dionne ldionne at apple.com
Thu Nov 29 07:52:36 PST 2018


Author: ldionne
Date: Thu Nov 29 07:52:36 2018
New Revision: 347875

URL: http://llvm.org/viewvc/llvm-project?rev=347875&view=rev
Log:
[libcxx] More fixes to XFAILs for aligned allocation tests for macosx 10.13

Those tests are a real pain to tweak.

Modified:
    libcxx/trunk/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp
    libcxx/trunk/test/libcxx/language.support/support.dynamic/new_faligned_allocation.sh.cpp

Modified: libcxx/trunk/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp?rev=347875&r1=347874&r2=347875&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp (original)
+++ libcxx/trunk/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp Thu Nov 29 07:52:36 2018
@@ -18,10 +18,16 @@
 // target does not support aligned allocation, even if we pass `-faligned-allocation`.
 // XFAIL: apple-clang-10 && availability=macosx10.12
 
-// The dylib shipped with macosx10.12 does not contain the aligned allocation
+// The dylibs shipped before macosx10.14 do not contain the aligned allocation
 // functions, so trying to force using those with -faligned-allocation results
 // in a link error.
+// XFAIL: with_system_cxx_lib=macosx10.13
 // XFAIL: with_system_cxx_lib=macosx10.12
+// XFAIL: with_system_cxx_lib=macosx10.11
+// XFAIL: with_system_cxx_lib=macosx10.10
+// XFAIL: with_system_cxx_lib=macosx10.9
+// XFAIL: with_system_cxx_lib=macosx10.8
+// XFAIL: with_system_cxx_lib=macosx10.7
 
 // The test will fail on deployment targets that do not support sized deallocation.
 // XFAIL: availability=macosx10.11

Modified: libcxx/trunk/test/libcxx/language.support/support.dynamic/new_faligned_allocation.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/language.support/support.dynamic/new_faligned_allocation.sh.cpp?rev=347875&r1=347874&r2=347875&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/language.support/support.dynamic/new_faligned_allocation.sh.cpp (original)
+++ libcxx/trunk/test/libcxx/language.support/support.dynamic/new_faligned_allocation.sh.cpp Thu Nov 29 07:52:36 2018
@@ -16,12 +16,16 @@
 
 // REQUIRES: -faligned-allocation
 
+// The dylibs shipped before macosx10.14 do not contain the aligned allocation
+// functions, so trying to force using those with -faligned-allocation results
+// in a link error.
+// XFAIL: with_system_cxx_lib=macosx10.13
 // XFAIL: with_system_cxx_lib=macosx10.12
 // XFAIL: with_system_cxx_lib=macosx10.11
 // XFAIL: with_system_cxx_lib=macosx10.10
 // XFAIL: with_system_cxx_lib=macosx10.9
-// XFAIL: with_system_cxx_lib=macosx10.7
 // XFAIL: with_system_cxx_lib=macosx10.8
+// XFAIL: with_system_cxx_lib=macosx10.7
 
 // RUN: %build -faligned-allocation
 // RUN: %run




More information about the libcxx-commits mailing list