xref: /aosp_15_r20/external/compiler-rt/test/asan/TestCases/Android/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 Robotif root.android != "1":
9*7c3d14c8STreehugger Robot  config.unsupported = True
10*7c3d14c8STreehugger Robot
11*7c3d14c8STreehugger Robotconfig.substitutions.append( ("%device", "/data/local/tmp/Output") )
12