[PATCH] D14923: [tsan] Mark a few more tests with "UNSUPPORTED: darwin"

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 24 05:51:22 PST 2015


kubabrecka updated this revision to Diff 41036.
kubabrecka added a comment.

Updating patch (keeping mutexset6.cc as it is, will update it in a different revision).


http://reviews.llvm.org/D14923

Files:
  test/tsan/map32bit.cc
  test/tsan/thread_name2.cc

Index: test/tsan/thread_name2.cc
===================================================================
--- test/tsan/thread_name2.cc
+++ 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
Index: test/tsan/map32bit.cc
===================================================================
--- test/tsan/map32bit.cc
+++ 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);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14923.41036.patch
Type: text/x-patch
Size: 790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151124/19171516/attachment.bin>


More information about the llvm-commits mailing list