llvm-project/compiler-rt/test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg.py

10 lines
184 B
Python

def getRoot(config):
if not config.parent:
return config
return getRoot(config.parent)
root = getRoot(config)
if root.host_os not in ['FreeBSD']:
config.unsupported = True