[libcxx] r348507 - [libcxx] Add XFAILs for aligned allocation tests on AppleClang 9
Louis Dionne
ldionne at apple.com
Thu Dec 6 10:06:48 PST 2018
Author: ldionne
Date: Thu Dec 6 10:06:47 2018
New Revision: 348507
URL: http://llvm.org/viewvc/llvm-project?rev=348507&view=rev
Log:
[libcxx] Add XFAILs for aligned allocation tests on AppleClang 9
Some people are still running the test suite using AppleClang 9.
Modified:
libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp
libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp
libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp
libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp
libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp
libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp
libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp
libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp?rev=348507&r1=348506&r2=348507&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp Thu Dec 6 10:06:47 2018
@@ -20,22 +20,22 @@
// Aligned allocation was not provided before macosx10.12 and as a result we
// get availability errors when the deployment target is older than macosx10.13.
// However, AppleClang 10 (and older) don't trigger availability errors.
-// XFAIL: !apple-clang-10 && availability=macosx10.12
-// XFAIL: !apple-clang-10 && availability=macosx10.11
-// XFAIL: !apple-clang-10 && availability=macosx10.10
-// XFAIL: !apple-clang-10 && availability=macosx10.9
-// XFAIL: !apple-clang-10 && availability=macosx10.8
-// XFAIL: !apple-clang-10 && availability=macosx10.7
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.12
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.11
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.10
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.9
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.8
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.7
// On AppleClang 10 (and older), instead of getting an availability failure
// like above, we get a link error when we link against a dylib that does
// not export the aligned allocation functions.
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.12
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.11
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.10
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.9
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.8
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.7
// On Windows libc++ doesn't provide its own definitions for new/delete
// but instead depends on the ones in VCRuntime. However VCRuntime does not
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp?rev=348507&r1=348506&r2=348507&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp Thu Dec 6 10:06:47 2018
@@ -18,22 +18,22 @@
// Aligned allocation was not provided before macosx10.12 and as a result we
// get availability errors when the deployment target is older than macosx10.13.
// However, AppleClang 10 (and older) don't trigger availability errors.
-// XFAIL: !apple-clang-10 && availability=macosx10.12
-// XFAIL: !apple-clang-10 && availability=macosx10.11
-// XFAIL: !apple-clang-10 && availability=macosx10.10
-// XFAIL: !apple-clang-10 && availability=macosx10.9
-// XFAIL: !apple-clang-10 && availability=macosx10.8
-// XFAIL: !apple-clang-10 && availability=macosx10.7
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.12
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.11
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.10
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.9
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.8
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.7
// On AppleClang 10 (and older), instead of getting an availability failure
// like above, we get a link error when we link against a dylib that does
// not export the aligned allocation functions.
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.12
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.11
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.10
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.9
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.8
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.7
// On Windows libc++ doesn't provide its own definitions for new/delete
// but instead depends on the ones in VCRuntime. However VCRuntime does not
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp?rev=348507&r1=348506&r2=348507&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp Thu Dec 6 10:06:47 2018
@@ -18,22 +18,22 @@
// Aligned allocation was not provided before macosx10.12 and as a result we
// get availability errors when the deployment target is older than macosx10.13.
// However, AppleClang 10 (and older) don't trigger availability errors.
-// XFAIL: !apple-clang-10 && availability=macosx10.12
-// XFAIL: !apple-clang-10 && availability=macosx10.11
-// XFAIL: !apple-clang-10 && availability=macosx10.10
-// XFAIL: !apple-clang-10 && availability=macosx10.9
-// XFAIL: !apple-clang-10 && availability=macosx10.8
-// XFAIL: !apple-clang-10 && availability=macosx10.7
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.12
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.11
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.10
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.9
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.8
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.7
// On AppleClang 10 (and older), instead of getting an availability failure
// like above, we get a link error when we link against a dylib that does
// not export the aligned allocation functions.
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.12
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.11
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.10
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.9
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.8
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.7
// On Windows libc++ doesn't provide its own definitions for new/delete
// but instead depends on the ones in VCRuntime. However VCRuntime does not
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp?rev=348507&r1=348506&r2=348507&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp Thu Dec 6 10:06:47 2018
@@ -13,22 +13,22 @@
// Aligned allocation was not provided before macosx10.12 and as a result we
// get availability errors when the deployment target is older than macosx10.13.
// However, AppleClang 10 (and older) don't trigger availability errors.
-// XFAIL: !apple-clang-10 && availability=macosx10.12
-// XFAIL: !apple-clang-10 && availability=macosx10.11
-// XFAIL: !apple-clang-10 && availability=macosx10.10
-// XFAIL: !apple-clang-10 && availability=macosx10.9
-// XFAIL: !apple-clang-10 && availability=macosx10.8
-// XFAIL: !apple-clang-10 && availability=macosx10.7
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.12
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.11
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.10
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.9
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.8
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.7
// On AppleClang 10 (and older), instead of getting an availability failure
// like above, we get a link error when we link against a dylib that does
// not export the aligned allocation functions.
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.12
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.11
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.10
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.9
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.8
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.7
// XFAIL: no-aligned-allocation && !gcc
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp?rev=348507&r1=348506&r2=348507&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp Thu Dec 6 10:06:47 2018
@@ -19,22 +19,22 @@
// Aligned allocation was not provided before macosx10.12 and as a result we
// get availability errors when the deployment target is older than macosx10.13.
// However, AppleClang 10 (and older) don't trigger availability errors.
-// XFAIL: !apple-clang-10 && availability=macosx10.12
-// XFAIL: !apple-clang-10 && availability=macosx10.11
-// XFAIL: !apple-clang-10 && availability=macosx10.10
-// XFAIL: !apple-clang-10 && availability=macosx10.9
-// XFAIL: !apple-clang-10 && availability=macosx10.8
-// XFAIL: !apple-clang-10 && availability=macosx10.7
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.12
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.11
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.10
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.9
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.8
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.7
// On AppleClang 10 (and older), instead of getting an availability failure
// like above, we get a link error when we link against a dylib that does
// not export the aligned allocation functions.
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.12
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.11
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.10
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.9
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.8
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.7
// On Windows libc++ doesn't provide its own definitions for new/delete
// but instead depends on the ones in VCRuntime. However VCRuntime does not
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp?rev=348507&r1=348506&r2=348507&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp Thu Dec 6 10:06:47 2018
@@ -12,22 +12,22 @@
// Aligned allocation was not provided before macosx10.12 and as a result we
// get availability errors when the deployment target is older than macosx10.13.
// However, AppleClang 10 (and older) don't trigger availability errors.
-// XFAIL: !apple-clang-10 && availability=macosx10.12
-// XFAIL: !apple-clang-10 && availability=macosx10.11
-// XFAIL: !apple-clang-10 && availability=macosx10.10
-// XFAIL: !apple-clang-10 && availability=macosx10.9
-// XFAIL: !apple-clang-10 && availability=macosx10.8
-// XFAIL: !apple-clang-10 && availability=macosx10.7
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.12
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.11
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.10
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.9
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.8
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.7
// On AppleClang 10 (and older), instead of getting an availability failure
// like above, we get a link error when we link against a dylib that does
// not export the aligned allocation functions.
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.12
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.11
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.10
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.9
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.8
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.7
// asan and msan will not call the new handler.
// UNSUPPORTED: sanitizer-new-delete
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp?rev=348507&r1=348506&r2=348507&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp Thu Dec 6 10:06:47 2018
@@ -12,22 +12,22 @@
// Aligned allocation was not provided before macosx10.12 and as a result we
// get availability errors when the deployment target is older than macosx10.13.
// However, AppleClang 10 (and older) don't trigger availability errors.
-// XFAIL: !apple-clang-10 && availability=macosx10.12
-// XFAIL: !apple-clang-10 && availability=macosx10.11
-// XFAIL: !apple-clang-10 && availability=macosx10.10
-// XFAIL: !apple-clang-10 && availability=macosx10.9
-// XFAIL: !apple-clang-10 && availability=macosx10.8
-// XFAIL: !apple-clang-10 && availability=macosx10.7
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.12
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.11
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.10
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.9
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.8
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.7
// On AppleClang 10 (and older), instead of getting an availability failure
// like above, we get a link error when we link against a dylib that does
// not export the aligned allocation functions.
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.12
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.11
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.10
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.9
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.8
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.7
// asan and msan will not call the new handler.
// UNSUPPORTED: sanitizer-new-delete
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp?rev=348507&r1=348506&r2=348507&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp Thu Dec 6 10:06:47 2018
@@ -13,22 +13,22 @@
// Aligned allocation was not provided before macosx10.12 and as a result we
// get availability errors when the deployment target is older than macosx10.13.
// However, AppleClang 10 (and older) don't trigger availability errors.
-// XFAIL: !apple-clang-10 && availability=macosx10.12
-// XFAIL: !apple-clang-10 && availability=macosx10.11
-// XFAIL: !apple-clang-10 && availability=macosx10.10
-// XFAIL: !apple-clang-10 && availability=macosx10.9
-// XFAIL: !apple-clang-10 && availability=macosx10.8
-// XFAIL: !apple-clang-10 && availability=macosx10.7
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.12
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.11
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.10
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.9
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.8
+// XFAIL: !(apple-clang-9 || apple-clang-10) && availability=macosx10.7
// On AppleClang 10 (and older), instead of getting an availability failure
// like above, we get a link error when we link against a dylib that does
// not export the aligned allocation functions.
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8
-// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.12
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.11
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.10
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.9
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.8
+// XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.7
// NOTE: gcc doesn't provide -faligned-allocation flag to test for
// XFAIL: no-aligned-allocation && !gcc
More information about the libcxx-commits
mailing list