projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c11da1c
)
[tsan] Enable the tsan/libcxx/ testcase(s) on Darwin
author
Kuba Brecka
<kuba.brecka@gmail.com>
Mon, 31 Oct 2016 20:50:15 +0000
(20:50 +0000)
committer
Kuba Brecka
<kuba.brecka@gmail.com>
Mon, 31 Oct 2016 20:50:15 +0000
(20:50 +0000)
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
llvm-svn: 285634
compiler-rt/test/tsan/libcxx/lit.local.cfg
patch
|
blob
|
history
diff --git
a/compiler-rt/test/tsan/libcxx/lit.local.cfg
b/compiler-rt/test/tsan/libcxx/lit.local.cfg
index
202b44e
..
3ee7057
100644
(file)
--- 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