[powerpc] Disable ManyThreadsWithStatsStressTest test for ppc64
authorBill Seurer <seurer@linux.vnet.ibm.com>
Wed, 7 Sep 2016 16:30:31 +0000 (16:30 +0000)
committerBill Seurer <seurer@linux.vnet.ibm.com>
Wed, 7 Sep 2016 16:30:31 +0000 (16:30 +0000)
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

compiler-rt/lib/asan/tests/asan_interface_test.cc

index f5bfb80..4f4b0d1 100644 (file)
@@ -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);