diff options
author | Chris Craik <ccraik@google.com> | 2016-08-19 14:42:29 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2016-08-22 12:30:46 -0700 |
commit | a23c9e9f6fc22fe5611def685e1984062b13b560 (patch) | |
tree | c91891dae0ff370a6d8952977fefb8197ed53f18 /catapult/devil/bin/run_py_devicetests | |
parent | cf3bd4e119057b93aabc136f2a2f3199aa24f1ad (diff) | |
download | chromium-trace-a23c9e9f6fc22fe5611def685e1984062b13b560.tar.gz |
Update to latest catapult (1ff7619f)
bug:21925298
bug:29643805
bug:30299278
bug:30397774
bug:30953297
Change-Id: I4d73c3c5454541a50703253ebeb63e5b2ea01fec
Diffstat (limited to 'catapult/devil/bin/run_py_devicetests')
-rwxr-xr-x | catapult/devil/bin/run_py_devicetests | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/catapult/devil/bin/run_py_devicetests b/catapult/devil/bin/run_py_devicetests new file mode 100755 index 00000000..c23839f3 --- /dev/null +++ b/catapult/devil/bin/run_py_devicetests @@ -0,0 +1,23 @@ +#!/usr/bin/env python +# Copyright 2016 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import os +import sys + +_CATAPULT_PATH = os.path.abspath(os.path.join( + os.path.dirname(__file__), '..', '..')) +_DEVIL_PATH = os.path.abspath(os.path.join( + os.path.dirname(__file__), '..')) + +sys.path.append(_CATAPULT_PATH) +from catapult_build import run_with_typ + + +def main(): + sys.argv.extend(['--suffixes', '*_devicetest.py', '-j', '1']) + return run_with_typ.Run(top_level_dir=_DEVIL_PATH) + +if __name__ == '__main__': + sys.exit(main()) |