diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-07 14:29:38 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-07 14:29:38 +0000 |
commit | be81c28ec638a9e52cf802d7dd9eb8dea3b7ca5b (patch) | |
tree | 681f1f79e0e66b447c752c99b68ee6cf89f5462e | |
parent | 9ffee46d458d0aa2bab85e8cf08347af797c8978 (diff) | |
download | bcm5719-llvm-be81c28ec638a9e52cf802d7dd9eb8dea3b7ca5b.tar.gz bcm5719-llvm-be81c28ec638a9e52cf802d7dd9eb8dea3b7ca5b.zip |
[tsan] Turn lit test deadlocks into failures (OS X)
Several tests currently deadlock when the lit test suite is run on OS X. Let's mark them as unsupported.
Differential Revision: http://reviews.llvm.org/D14443
llvm-svn: 252402
-rw-r--r-- | compiler-rt/test/tsan/fork_atexit.cc | 1 | ||||
-rw-r--r-- | compiler-rt/test/tsan/fork_deadlock.cc | 1 | ||||
-rw-r--r-- | compiler-rt/test/tsan/fork_multithreaded.cc | 1 | ||||
-rw-r--r-- | compiler-rt/test/tsan/fork_multithreaded3.cc | 1 | ||||
-rw-r--r-- | compiler-rt/test/tsan/signal_reset.cc | 1 | ||||
-rw-r--r-- | compiler-rt/test/tsan/signal_sync.cc | 1 | ||||
-rw-r--r-- | compiler-rt/test/tsan/signal_thread.cc | 1 | ||||
-rw-r--r-- | compiler-rt/test/tsan/vfork.cc | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/compiler-rt/test/tsan/fork_atexit.cc b/compiler-rt/test/tsan/fork_atexit.cc index 6801d3ffff7..a1bed4a6317 100644 --- a/compiler-rt/test/tsan/fork_atexit.cc +++ b/compiler-rt/test/tsan/fork_atexit.cc @@ -1,4 +1,5 @@ // RUN: %clangxx_tsan -O1 %s -o %t && TSAN_OPTIONS="atexit_sleep_ms=50" %run %t 2>&1 | FileCheck %s +// UNSUPPORTED: darwin #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/compiler-rt/test/tsan/fork_deadlock.cc b/compiler-rt/test/tsan/fork_deadlock.cc index 9418800bd33..bf57d16e887 100644 --- a/compiler-rt/test/tsan/fork_deadlock.cc +++ b/compiler-rt/test/tsan/fork_deadlock.cc @@ -1,4 +1,5 @@ // RUN: %clangxx_tsan -O1 %s -o %t && TSAN_OPTIONS="atexit_sleep_ms=50" %run %t 2>&1 | FileCheck %s +// UNSUPPORTED: darwin #include "test.h" #include <errno.h> #include <sys/types.h> diff --git a/compiler-rt/test/tsan/fork_multithreaded.cc b/compiler-rt/test/tsan/fork_multithreaded.cc index 3ddb417c7cb..24e0987e770 100644 --- a/compiler-rt/test/tsan/fork_multithreaded.cc +++ b/compiler-rt/test/tsan/fork_multithreaded.cc @@ -1,5 +1,6 @@ // RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s -check-prefix=CHECK-DIE // RUN: %clangxx_tsan -O1 %s -o %t && TSAN_OPTIONS="die_after_fork=0" %run %t 2>&1 | FileCheck %s -check-prefix=CHECK-NODIE +// UNSUPPORTED: darwin #include "test.h" #include <errno.h> #include <sys/types.h> diff --git a/compiler-rt/test/tsan/fork_multithreaded3.cc b/compiler-rt/test/tsan/fork_multithreaded3.cc index a651b3c18b4..5b8c13eb8b8 100644 --- a/compiler-rt/test/tsan/fork_multithreaded3.cc +++ b/compiler-rt/test/tsan/fork_multithreaded3.cc @@ -1,4 +1,5 @@ // RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s +// UNSUPPORTED: darwin #include <stdlib.h> #include <stdio.h> #include <errno.h> diff --git a/compiler-rt/test/tsan/signal_reset.cc b/compiler-rt/test/tsan/signal_reset.cc index aec98dc399e..82758d88238 100644 --- a/compiler-rt/test/tsan/signal_reset.cc +++ b/compiler-rt/test/tsan/signal_reset.cc @@ -1,4 +1,5 @@ // RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s +// UNSUPPORTED: darwin #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/compiler-rt/test/tsan/signal_sync.cc b/compiler-rt/test/tsan/signal_sync.cc index 6ff19d3bd12..b529a1859f5 100644 --- a/compiler-rt/test/tsan/signal_sync.cc +++ b/compiler-rt/test/tsan/signal_sync.cc @@ -1,4 +1,5 @@ // RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s +// UNSUPPORTED: darwin #include "test.h" #include <signal.h> #include <sys/types.h> diff --git a/compiler-rt/test/tsan/signal_thread.cc b/compiler-rt/test/tsan/signal_thread.cc index 8eda80a5226..aa91d1ddeb1 100644 --- a/compiler-rt/test/tsan/signal_thread.cc +++ b/compiler-rt/test/tsan/signal_thread.cc @@ -1,4 +1,5 @@ // RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s +// UNSUPPORTED: darwin #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/compiler-rt/test/tsan/vfork.cc b/compiler-rt/test/tsan/vfork.cc index 5ae1dd1abab..98a82623ee6 100644 --- a/compiler-rt/test/tsan/vfork.cc +++ b/compiler-rt/test/tsan/vfork.cc @@ -1,4 +1,5 @@ // RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s +// UNSUPPORTED: darwin #include <pthread.h> #include <stdio.h> #include <stdlib.h> |