diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-28 09:22:27 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-28 09:22:27 +0000 |
commit | 19c56b8ebd4baf67d0e67da18dcf4e580d38d690 (patch) | |
tree | 823a72b12045d4ff00fe42e78b2db7e3ec69add4 | |
parent | fd2c5a924618d610acffedf9c9ddcfd99e93f503 (diff) |
[tsan] Mark a few more tests with "UNSUPPORTED: darwin"
There's a few more lit tests that require features not available on OS X (MAP_32BIT, pthread_setname_np), let's mark them with "UNSUPPORTED: darwin".
Differential Revision: http://reviews.llvm.org/D14923
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@254225 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/tsan/map32bit.cc | 3 | ||||
-rw-r--r-- | test/tsan/thread_name2.cc | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/tsan/map32bit.cc b/test/tsan/map32bit.cc index f23d7f76e..b59946f2e 100644 --- a/test/tsan/map32bit.cc +++ b/test/tsan/map32bit.cc @@ -11,6 +11,9 @@ // XFAIL: mips64 // XFAIL: aarch64 +// MAP_32BIT doesn't exist on OS X. +// UNSUPPORTED: darwin + void *Thread(void *ptr) { *(int*)ptr = 42; barrier_wait(&barrier); diff --git a/test/tsan/thread_name2.cc b/test/tsan/thread_name2.cc index 93387dab2..d7ed0f0d1 100644 --- a/test/tsan/thread_name2.cc +++ b/test/tsan/thread_name2.cc @@ -1,6 +1,9 @@ // RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s #include "test.h" +// OS X doesn't have pthread_setname_np(tid, name). +// UNSUPPORTED: darwin + #if defined(__FreeBSD__) #include <pthread_np.h> #define pthread_setname_np pthread_set_name_np |