]> git.proxmox.com Git - rustc.git/blobdiff - src/compiler-rt/lib/tsan/tests/rtl/tsan_posix.cc
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / compiler-rt / lib / tsan / tests / rtl / tsan_posix.cc
index 0caedd7207e6381ab40f3bb9dfbce81d98132911..71fb05c22806af7cfba2b4827ece0fbd25e25aa4 100644 (file)
@@ -71,6 +71,7 @@ TEST(Posix, ThreadSpecificDtors) {
   EXPECT_EQ(6, cnt);
 }
 
+#ifndef __aarch64__
 static __thread int local_var;
 
 static void *local_thread(void *p) {
@@ -87,9 +88,14 @@ static void *local_thread(void *p) {
     EXPECT_EQ(pthread_join(th[i], 0), 0);
   return 0;
 }
+#endif
 
 TEST(Posix, ThreadLocalAccesses) {
+// The test is failing with high thread count for aarch64.
+// FIXME: track down the issue and re-enable the test.
+#ifndef __aarch64__
   local_thread((void*)2);
+#endif
 }
 
 struct CondContext {