From: Bill Seurer Date: Wed, 7 Sep 2016 16:30:31 +0000 (+0000) Subject: [powerpc] Disable ManyThreadsWithStatsStressTest test for ppc64 X-Git-Tag: llvmorg-4.0.0-rc1~10448 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f2a02894c759c2ffb954e400c52a900327defb6d;p=platform%2Fupstream%2Fllvm.git [powerpc] Disable ManyThreadsWithStatsStressTest test for ppc64 Since r279664 this test causes frequent failures of test runs for ppc64le and occasional failures for ppc64be which makes buildbot results unreliable. If the underlying problem is fixed it can be re-enabled. llvm-svn: 280823 --- diff --git a/compiler-rt/lib/asan/tests/asan_interface_test.cc b/compiler-rt/lib/asan/tests/asan_interface_test.cc index f5bfb80..4f4b0d1 100644 --- a/compiler-rt/lib/asan/tests/asan_interface_test.cc +++ b/compiler-rt/lib/asan/tests/asan_interface_test.cc @@ -117,6 +117,9 @@ static void *ManyThreadsWithStatsWorker(void *arg) { return 0; } +#ifndef __powerpc64__ +// FIXME: This has not reliably worked on powerpc since r279664. Re-enable +// this once the problem is tracked down and fixed. TEST(AddressSanitizerInterface, ManyThreadsWithStatsStressTest) { size_t before_test, after_test, i; pthread_t threads[kManyThreadsNumThreads]; @@ -133,6 +136,7 @@ TEST(AddressSanitizerInterface, ManyThreadsWithStatsStressTest) { // so we can't check for equality here. EXPECT_LT(after_test, before_test + (1UL<<20)); } +#endif static void DoDoubleFree() { int *x = Ident(new int);