diff --git a/compiler-rt/test/tsan/libcxx/lit.local.cfg b/compiler-rt/test/tsan/libcxx/lit.local.cfg index 202b44ee116d..3ee705736e6f 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