[libcxx] r237664 - mark new/delete tests as XFAIL more carefully

Eric Fiselier eric at efcs.ca
Mon May 18 20:41:22 PDT 2015


Author: ericwf
Date: Mon May 18 22:41:22 2015
New Revision: 237664

URL: http://llvm.org/viewvc/llvm-project?rev=237664&view=rev
Log:
mark new/delete tests as XFAIL more carefully

Modified:
    libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp
    libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp
    libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp
    libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp

Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp?rev=237664&r1=237663&r2=237664&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp Mon May 18 22:41:22 2015
@@ -13,11 +13,13 @@
 
 // TODO: Clang does not enable sized-deallocation in c++14 and behond by
 // default. It is only enabled when -fsized-deallocation is given.
-// XFAIL: clang
+// (except clang-3.6 which temporarly enabled sized-deallocation)
+// XFAIL: clang-3.4, clang-3.5, clang-3.7
+// XFAIL: apple-clang
 
-// TODO: GCC 4.9.1 does not support sized-deallocation in c++14. However
+// NOTE: GCC 4.9.1 does not support sized-deallocation in c++14. However
 // GCC 5.1 does.
-// XFAIL: gcc-4.8, gcc-4.9
+// XFAIL: gcc-4.7, gcc-4.8, gcc-4.9
 
 #include <new>
 #include <cstddef>

Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp?rev=237664&r1=237663&r2=237664&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp Mon May 18 22:41:22 2015
@@ -14,8 +14,11 @@
 
 // UNSUPPORTED: sanitizer-new-delete
 
-// TODO: -fsized-deallocation was only added to GCC in 5.1.
-// XFAIL: gcc-4.8, gcc-4.9
+// NOTE: -fsized-deallocation was only added in clang 3.7
+// XFAIL: clang-3.4, clang-3.5, clang-3.6
+
+// NOTE: -fsized-deallocation was only added to GCC in 5.1.
+// XFAIL: gcc-4.7, gcc-4.8, gcc-4.9
 
 // RUN: %build -fsized-deallocation
 // RUN: %run

Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp?rev=237664&r1=237663&r2=237664&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp Mon May 18 22:41:22 2015
@@ -13,11 +13,13 @@
 
 // TODO: Clang does not enable sized-deallocation in c++14 and behond by
 // default. It is only enabled when -fsized-deallocation is given.
-// XFAIL: clang
+// (except clang-3.6 which temporarly enabled sized-deallocation)
+// XFAIL: clang-3.4, clang-3.5, clang-3.7
+// XFAIL: apple-clang
 
-// TODO: GCC 4.9.1 does not support sized-deallocation in c++14. However
+// NOTE: GCC 4.9.1 does not support sized-deallocation in c++14. However
 // GCC 5.1 does.
-// XFAIL: gcc-4.8, gcc-4.9
+// XFAIL: gcc-4.7, gcc-4.8, gcc-4.9
 
 #include <new>
 #include <cstddef>

Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp?rev=237664&r1=237663&r2=237664&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp Mon May 18 22:41:22 2015
@@ -14,8 +14,11 @@
 
 // UNSUPPORTED: sanitizer-new-delete
 
-// TODO: -fsized-deallocation was only added to GCC in 5.1.
-// XFAIL: gcc-4.8, gcc-4.9
+// NOTE: -fsized-deallocation was only added in clang 3.7
+// XFAIL: clang-3.4, clang-3.5, clang-3.6
+
+// NOTE: -fsized-deallocation was only added to GCC in 5.1.
+// XFAIL: gcc-4.7, gcc-4.8, gcc-4.9
 
 // RUN: %build -fsized-deallocation
 // RUN: %run





More information about the cfe-commits mailing list