summaryrefslogtreecommitdiff
path: root/test/tsan/libcxx/lit.local.cfg
blob: 3ee705736e6fe8d7848805b512f4eb98a095e57d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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