summaryrefslogtreecommitdiff
path: root/test/cfi/cross-dso/lit.local.cfg
blob: afdac4246223b4cefb2f9d1b7ae19cfbd0290146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
def getRoot(config):
  if not config.parent:
    return config
  return getRoot(config.parent)

root = getRoot(config)

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

# Android O (API level 26) has support for cross-dso cfi in libdl.so.
if config.android and 'android-26' not in config.available_features:
  config.unsupported = True