summaryrefslogtreecommitdiff
path: root/test/tsan/libcxx
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-10-31 20:50:15 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-10-31 20:50:15 +0000
commitce7082b09627b42686d22992b0251f706da9c204 (patch)
tree3539994d2bfe9e26dcf54084df395f7c6d39d60f /test/tsan/libcxx
parentf1c98b9ee5749feb7bc6ad2a59f24fdc06248d2b (diff)
downloadcompiler-rt-ce7082b09627b42686d22992b0251f706da9c204.tar.gz
[tsan] Enable the tsan/libcxx/ testcase(s) on Darwin
Apparently, the std_shared_ptr.cc testcase works fine on Darwin, even without the instrumented libcxx. Let's enable it. Differential Revision: https://reviews.llvm.org/D26162 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@285634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/libcxx')
-rw-r--r--test/tsan/libcxx/lit.local.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/tsan/libcxx/lit.local.cfg b/test/tsan/libcxx/lit.local.cfg
index 202b44ee1..3ee705736 100644
--- a/test/tsan/libcxx/lit.local.cfg
+++ b/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