xref: /llvm-project/compiler-rt/test/profile/Windows/lit.local.cfg.py (revision f98ee40f4b5d7474fc67e82824bf6abbaedb7b1c)
1900d8a9aSHans Wennborgdef getRoot(config):
2900d8a9aSHans Wennborg    if not config.parent:
3900d8a9aSHans Wennborg        return config
4900d8a9aSHans Wennborg    return getRoot(config.parent)
5900d8a9aSHans Wennborg
6*f98ee40fSTobias Hieta
7900d8a9aSHans Wennborgroot = getRoot(config)
8900d8a9aSHans Wennborg
9*f98ee40fSTobias Hietaif root.host_os not in ["Windows"]:
10900d8a9aSHans Wennborg    config.unsupported = True
11