def getRoot(config):
  if not config.parent:
    return config
  return getRoot(config.parent)

root = getRoot(config)

if not root.has_libcxx:
  config.unsupported = True


def getRoot(config):
  if not config.parent:
    return config
  return getRoot(config.parent)

root = getRoot(config)

# 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


Enable the tsan/libcxx/ testcase(s) on Darwin
[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: c199f293c43da69278bea8e88f92242bf3aa95f7@285634 91177308-0d34-0410-b5e6-96231b3b80d8
