[compiler-rt] r277882 - Disable a few win asan64 tests that don't reliably pass, https://reviews.llvm.org/D23230
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 5 15:36:30 PDT 2016
Author: nico
Date: Fri Aug 5 17:36:30 2016
New Revision: 277882
URL: http://llvm.org/viewvc/llvm-project?rev=277882&view=rev
Log:
Disable a few win asan64 tests that don't reliably pass, https://reviews.llvm.org/D23230
Modified:
compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator_test.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator_test.cc?rev=277882&r1=277881&r2=277882&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator_test.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator_test.cc Fri Aug 5 17:36:30 2016
@@ -159,6 +159,9 @@ void TestSizeClassAllocator() {
}
#if SANITIZER_CAN_USE_ALLOCATOR64
+// These tests can fail on Windows if memory is somewhat full and lit happens
+// to run them all at the same time. FIXME: Make them not flaky and reenable.
+#if !SANITIZER_WINDOWS
TEST(SanitizerCommon, SizeClassAllocator64) {
TestSizeClassAllocator<Allocator64>();
}
@@ -171,6 +174,7 @@ TEST(SanitizerCommon, SizeClassAllocator
TestSizeClassAllocator<Allocator64Compact>();
}
#endif
+#endif
TEST(SanitizerCommon, SizeClassAllocator32Compact) {
TestSizeClassAllocator<Allocator32Compact>();
@@ -248,6 +252,9 @@ void SizeClassAllocatorGetBlockBeginStre
}
#if SANITIZER_CAN_USE_ALLOCATOR64
+// These tests can fail on Windows if memory is somewhat full and lit happens
+// to run them all at the same time. FIXME: Make them not flaky and reenable.
+#if !SANITIZER_WINDOWS
TEST(SanitizerCommon, SizeClassAllocator64GetBlockBegin) {
SizeClassAllocatorGetBlockBeginStress<Allocator64>();
}
@@ -260,6 +267,7 @@ TEST(SanitizerCommon, SizeClassAllocator
TEST(SanitizerCommon, SizeClassAllocator32CompactGetBlockBegin) {
SizeClassAllocatorGetBlockBeginStress<Allocator32Compact>();
}
+#endif
#endif // SANITIZER_CAN_USE_ALLOCATOR64
struct TestMapUnmapCallback {
@@ -554,6 +562,9 @@ void TestSizeClassAllocatorLocalCache()
}
#if SANITIZER_CAN_USE_ALLOCATOR64
+// These tests can fail on Windows if memory is somewhat full and lit happens
+// to run them all at the same time. FIXME: Make them not flaky and reenable.
+#if !SANITIZER_WINDOWS
TEST(SanitizerCommon, SizeClassAllocator64LocalCache) {
TestSizeClassAllocatorLocalCache<
SizeClassAllocatorLocalCache<Allocator64> >();
@@ -569,6 +580,7 @@ TEST(SanitizerCommon, SizeClassAllocator
SizeClassAllocatorLocalCache<Allocator64Compact> >();
}
#endif
+#endif
TEST(SanitizerCommon, SizeClassAllocator32CompactLocalCache) {
TestSizeClassAllocatorLocalCache<
More information about the llvm-commits
mailing list