Skip to content

Commit 2ab51bf

Browse files
committed
[ASAN] Disable ManyThreadsTest in AArch64
This test was in an infinite loop in AArch64. We're investigating it on PR24389, but I'm disabling it for now, so that we continue testing everything else. llvm-svn: 244316
1 parent a07090f commit 2ab51bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ void *ManyThreadsWorker(void *a) {
335335
return 0;
336336
}
337337

338+
#if !defined(__aarch64__)
339+
// FIXME: Infinite loop in AArch64 (PR24389).
338340
TEST(AddressSanitizer, ManyThreadsTest) {
339341
const size_t kNumThreads =
340342
(SANITIZER_WORDSIZE == 32 || ASAN_AVOID_EXPENSIVE_TESTS) ? 30 : 1000;
@@ -346,6 +348,7 @@ TEST(AddressSanitizer, ManyThreadsTest) {
346348
PTHREAD_JOIN(t[i], 0);
347349
}
348350
}
351+
#endif
349352

350353
TEST(AddressSanitizer, ReallocTest) {
351354
const int kMinElem = 5;

0 commit comments

Comments
 (0)