[compiler-rt] r254225 - [tsan] Mark a few more tests with "UNSUPPORTED: darwin"

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 28 01:22:28 PST 2015


Author: kuba.brecka
Date: Sat Nov 28 03:22:27 2015
New Revision: 254225

URL: http://llvm.org/viewvc/llvm-project?rev=254225&view=rev
Log:
[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


Modified:
    compiler-rt/trunk/test/tsan/map32bit.cc
    compiler-rt/trunk/test/tsan/thread_name2.cc

Modified: compiler-rt/trunk/test/tsan/map32bit.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/map32bit.cc?rev=254225&r1=254224&r2=254225&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/map32bit.cc (original)
+++ compiler-rt/trunk/test/tsan/map32bit.cc Sat Nov 28 03:22:27 2015
@@ -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);

Modified: compiler-rt/trunk/test/tsan/thread_name2.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/thread_name2.cc?rev=254225&r1=254224&r2=254225&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/thread_name2.cc (original)
+++ compiler-rt/trunk/test/tsan/thread_name2.cc Sat Nov 28 03:22:27 2015
@@ -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




More information about the llvm-commits mailing list