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