aboutsummaryrefslogtreecommitdiff
path: root/test/tsan/bench_local_mutex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/bench_local_mutex.cc')
-rw-r--r--test/tsan/bench_local_mutex.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/tsan/bench_local_mutex.cc b/test/tsan/bench_local_mutex.cc
index 0fa1db0c883c..15f83bc8b282 100644
--- a/test/tsan/bench_local_mutex.cc
+++ b/test/tsan/bench_local_mutex.cc
@@ -1,6 +1,9 @@
// RUN: %clangxx_tsan %s -o %t
// RUN: %run %t 2>&1 | FileCheck %s
+// bench.h needs pthread barriers which are not available on OS X
+// UNSUPPORTED: darwin
+
#include "bench.h"
pthread_mutex_t *mtx;