[llvm-commits] [compiler-rt] r152953 - /compiler-rt/trunk/lib/asan/tests/asan_interface_test.cc
Kostya Serebryany
kcc at google.com
Fri Mar 16 15:15:22 PDT 2012
Author: kcc
Date: Fri Mar 16 17:15:22 2012
New Revision: 152953
URL: http://llvm.org/viewvc/llvm-project?rev=152953&view=rev
Log:
[asan] disable GetOwnershipStressTest on non-linux
Modified:
compiler-rt/trunk/lib/asan/tests/asan_interface_test.cc
Modified: compiler-rt/trunk/lib/asan/tests/asan_interface_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_interface_test.cc?rev=152953&r1=152952&r2=152953&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_interface_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_interface_test.cc Fri Mar 16 17:15:22 2012
@@ -363,6 +363,8 @@
__asan_set_error_report_callback(NULL);
}
+#ifdef __linux__
+// http://code.google.com/p/address-sanitizer/issues/detail?id=51
TEST(AddressSanitizerInterface, GetOwnershipStressTest) {
std::vector<char *> pointers;
std::vector<size_t> sizes;
@@ -383,3 +385,4 @@
for (size_t i = 0, n = pointers.size(); i < n; i++)
free(pointers[i]);
}
+#endif // __linux__
More information about the llvm-commits
mailing list