diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-10-31 20:50:15 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-10-31 20:50:15 +0000 |
commit | ce7082b09627b42686d22992b0251f706da9c204 (patch) | |
tree | 3539994d2bfe9e26dcf54084df395f7c6d39d60f /test/tsan/libcxx | |
parent | f1c98b9ee5749feb7bc6ad2a59f24fdc06248d2b (diff) | |
download | compiler-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.cfg | 4 |
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 |