summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/test/tsan/libcxx/lit.local.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/libcxx/lit.local.cfg b/compiler-rt/test/tsan/libcxx/lit.local.cfg
index 202b44ee116..3ee705736e6 100644
--- a/compiler-rt/test/tsan/libcxx/lit.local.cfg
+++ b/compiler-rt/test/tsan/libcxx/lit.local.cfg
@@ -5,6 +5,8 @@ def getRoot(config):
root = getRoot(config)
-if not root.has_libcxx:
+# Only run if we have an instrumented libcxx. On Darwin, run always (we have
+# interceptors to support the system-provided libcxx).
+if not root.has_libcxx and root.host_os != 'Darwin':
config.unsupported = True
OpenPOWER on IntegriCloud