aboutsummaryrefslogtreecommitdiff
path: root/test/tsan/Darwin/lit.local.cfg
blob: e74e82dbf47434f9c57a9ea708f4dbe85b2405ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
def getRoot(config):
  if not config.parent:
    return config
  return getRoot(config.parent)

root = getRoot(config)

if root.host_os not in ['Darwin']:
  config.unsupported = True

config.environment['TSAN_OPTIONS'] += ':ignore_noninstrumented_modules=1'