1def getRoot(config):
2  if not config.parent:
3    return config
4  return getRoot(config.parent)
5
6root = getRoot(config)
7
8# We only run a small set of tests on Windows for now.
9# Override the parent directory's "unsupported" decision until we can handle
10# all of its tests.
11if root.host_os in ['Windows']:
12  config.unsupported = False
13else:
14  config.unsupported = True
15