[libcxx] r221967 - Mark more tests as UNSUPPORTED with ASAN and MSAN.
Eric Fiselier
eric at efcs.ca
Thu Nov 13 18:55:16 PST 2014
Author: ericwf
Date: Thu Nov 13 20:55:16 2014
New Revision: 221967
URL: http://llvm.org/viewvc/llvm-project?rev=221967&view=rev
Log:
Mark more tests as UNSUPPORTED with ASAN and MSAN.
These tests fail for 2 reasons when using ASAN and MSAN.
1. If allocator_may_return_null=0 they will fail because null is returned
or an exception is thrown.
2. When allocator_may_return_null=1 the new_handler is still not called. This
results in an assertion failures.
Modified:
libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.array/new_array.pass.cpp
libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp
libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.single/new.pass.cpp
libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow.pass.cpp
Modified: libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.array/new_array.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.array/new_array.pass.cpp?rev=221967&r1=221966&r2=221967&view=diff
==============================================================================
--- libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.array/new_array.pass.cpp (original)
+++ libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.array/new_array.pass.cpp Thu Nov 13 20:55:16 2014
@@ -8,6 +8,8 @@
//===----------------------------------------------------------------------===//
// test operator new[]
+// NOTE: asan and msan will not call the new handler.
+// UNSUPPORTED: asan, msan
#include <new>
Modified: libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp?rev=221967&r1=221966&r2=221967&view=diff
==============================================================================
--- libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp (original)
+++ libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp Thu Nov 13 20:55:16 2014
@@ -8,6 +8,8 @@
//===----------------------------------------------------------------------===//
// test operator new [] (nothrow)
+// NOTE: asan and msan will not call the new handler.
+// UNSUPPORTED: asan, msan
#include <new>
Modified: libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.single/new.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.single/new.pass.cpp?rev=221967&r1=221966&r2=221967&view=diff
==============================================================================
--- libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.single/new.pass.cpp (original)
+++ libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.single/new.pass.cpp Thu Nov 13 20:55:16 2014
@@ -7,7 +7,10 @@
//
//===----------------------------------------------------------------------===//
- // test operator new
+// test operator new
+
+// asan and msan will not call the new handler.
+// UNSUPPORTED: asan, msan
#include <new>
#include <cstddef>
Modified: libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow.pass.cpp?rev=221967&r1=221966&r2=221967&view=diff
==============================================================================
--- libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow.pass.cpp (original)
+++ libcxx/trunk/test/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow.pass.cpp Thu Nov 13 20:55:16 2014
@@ -7,7 +7,10 @@
//
//===----------------------------------------------------------------------===//
- // test operator new (nothrow)
+// test operator new (nothrow)
+
+// asan and msan will not call the new handler.
+// UNSUPPORTED: asan, msan
#include <new>
#include <cstddef>
More information about the cfe-commits
mailing list