summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Seurer <seurer@linux.vnet.ibm.com>2017-03-27 18:36:06 +0000
committerBill Seurer <seurer@linux.vnet.ibm.com>2017-03-27 18:36:06 +0000
commit467afc5f847f72221a42d9142c5b4733b44b52dc (patch)
tree70d49914b42eae53eada602011127da52ecf1709
parentfb9905545cd12b83d9a1fe4eb99519436a318aa3 (diff)
downloadbcm5719-llvm-467afc5f847f72221a42d9142c5b4733b44b52dc.tar.gz
bcm5719-llvm-467afc5f847f72221a42d9142c5b4733b44b52dc.zip
[powerpc] deactivate ManyThreadsTest asan test on powerpc64
This test case occassionally hangs when run on powerpc. This is also a problem on AArch64 (see https://bugs.llvm.org/show_bug.cgi?id=24389). Reactivate this when the problem is fixed. This could also be related to the same problem as with the tests ThreadedOneSizeMallocStressTest, ThreadedMallocStressTest, and several others that do not run reliably on powerpc. llvm-svn: 298873
-rw-r--r--compiler-rt/lib/asan/tests/asan_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/tests/asan_test.cc b/compiler-rt/lib/asan/tests/asan_test.cc
index 425e7fc9c4c..31215cf5661 100644
--- a/compiler-rt/lib/asan/tests/asan_test.cc
+++ b/compiler-rt/lib/asan/tests/asan_test.cc
@@ -337,8 +337,9 @@ void *ManyThreadsWorker(void *a) {
return 0;
}
-#if !defined(__aarch64__)
+#if !defined(__aarch64__) && !defined(__powerpc64__)
// FIXME: Infinite loop in AArch64 (PR24389).
+// FIXME: Also occasional hang on powerpc. Maybe same problem as on AArch64?
TEST(AddressSanitizer, ManyThreadsTest) {
const size_t kNumThreads =
(SANITIZER_WORDSIZE == 32 || ASAN_AVOID_EXPENSIVE_TESTS) ? 30 : 1000;
OpenPOWER on IntegriCloud