From be0f80a2840911131c49b8420eab68bcaafdc829 Mon Sep 17 00:00:00 2001 From: Kuba Brecka Date: Mon, 31 Oct 2016 20:50:15 +0000 Subject: [PATCH] [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 llvm-svn: 285634 --- compiler-rt/test/tsan/libcxx/lit.local.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler-rt/test/tsan/libcxx/lit.local.cfg b/compiler-rt/test/tsan/libcxx/lit.local.cfg index 202b44e..3ee7057 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 -- 2.7.4