xref: /aosp_15_r20/external/compiler-rt/test/asan/TestCases/Windows/lit.local.cfg (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1*7c3d14c8STreehugger Robotdef getRoot(config):
2*7c3d14c8STreehugger Robot  if not config.parent:
3*7c3d14c8STreehugger Robot    return config
4*7c3d14c8STreehugger Robot  return getRoot(config.parent)
5*7c3d14c8STreehugger Robot
6*7c3d14c8STreehugger Robotroot = getRoot(config)
7*7c3d14c8STreehugger Robot
8*7c3d14c8STreehugger Robot# We only run a small set of tests on Windows for now.
9*7c3d14c8STreehugger Robot# Override the parent directory's "unsupported" decision until we can handle
10*7c3d14c8STreehugger Robot# all of its tests.
11*7c3d14c8STreehugger Robotif root.host_os in ['Windows']:
12*7c3d14c8STreehugger Robot  config.unsupported = False
13*7c3d14c8STreehugger Robotelse:
14*7c3d14c8STreehugger Robot  config.unsupported = True
15