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 | c7c45bd370f527dd672b128f3056ac5e99b33c96 (patch) | |
tree | 705efdc7631770ee1e84a94730afec58305d1ace | |
parent | 81fb4f00c2cfe13814765968e09931ffa93b5138 (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@252402 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/tsan/fork_atexit.cc | 1 | ||||
-rw-r--r-- | test/tsan/fork_deadlock.cc | 1 | ||||
-rw-r--r-- | test/tsan/fork_multithreaded.cc | 1 | ||||
-rw-r--r-- | test/tsan/fork_multithreaded3.cc | 1 | ||||
-rw-r--r-- | test/tsan/signal_reset.cc | 1 | ||||
-rw-r--r-- | test/tsan/signal_sync.cc | 1 | ||||
-rw-r--r-- | test/tsan/signal_thread.cc | 1 | ||||
-rw-r--r-- | test/tsan/vfork.cc | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/test/tsan/fork_atexit.cc b/test/tsan/fork_atexit.cc index 6801d3fff..a1bed4a63 100644 --- a/test/tsan/fork_atexit.cc +++ b/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/test/tsan/fork_deadlock.cc b/test/tsan/fork_deadlock.cc index 9418800bd..bf57d16e8 100644 --- a/test/tsan/fork_deadlock.cc +++ b/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/test/tsan/fork_multithreaded.cc b/test/tsan/fork_multithreaded.cc index 3ddb417c7..24e0987e7 100644 --- a/test/tsan/fork_multithreaded.cc +++ b/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/test/tsan/fork_multithreaded3.cc b/test/tsan/fork_multithreaded3.cc index a651b3c18..5b8c13eb8 100644 --- a/test/tsan/fork_multithreaded3.cc +++ b/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/test/tsan/signal_reset.cc b/test/tsan/signal_reset.cc index aec98dc39..82758d882 100644 --- a/test/tsan/signal_reset.cc +++ b/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/test/tsan/signal_sync.cc b/test/tsan/signal_sync.cc index 6ff19d3bd..b529a1859 100644 --- a/test/tsan/signal_sync.cc +++ b/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/test/tsan/signal_thread.cc b/test/tsan/signal_thread.cc index 8eda80a52..aa91d1dde 100644 --- a/test/tsan/signal_thread.cc +++ b/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/test/tsan/vfork.cc b/test/tsan/vfork.cc index 5ae1dd1ab..98a82623e 100644 --- a/test/tsan/vfork.cc +++ b/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> |