Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(700)

Side by Side Diff: mojo/tools/run_mojo_python_tests.py

Issue 1306603002: Improve android stack parser (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/devtools/common/android_stack_parser/stack_utils_unittest.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import os 6 import os
7 import sys 7 import sys
8 8
9 from mopy.mojo_python_tests_runner import MojoPythonTestRunner 9 from mopy.mojo_python_tests_runner import MojoPythonTestRunner
10 10
11 11
12 def main(): 12 def main():
13 test_dir_list = [ 13 test_dir_list = [
14 # Tests of pylib bindings. 14 # Tests of pylib bindings.
15 os.path.join('mojo', 'public', 'tools', 'bindings', 'pylib'), 15 os.path.join('mojo', 'public', 'tools', 'bindings', 'pylib'),
16 # Tests of "mopy" python tools code. 16 # Tests of "mopy" python tools code.
17 os.path.join('mojo', 'tools', 'mopy'), 17 os.path.join('mojo', 'tools', 'mopy'),
18 # Tests of python code in devtools. 18 # Tests of python code in devtools.
19 os.path.join('mojo', 'devtools', 'common', 'devtoolslib') 19 os.path.join('mojo', 'devtools', 'common', 'devtoolslib'),
20 os.path.join('mojo', 'devtools', 'common', 'android_stack_parser')
20 ] 21 ]
21 22
22 for test_dir in test_dir_list: 23 for test_dir in test_dir_list:
23 runner = MojoPythonTestRunner(test_dir) 24 runner = MojoPythonTestRunner(test_dir)
24 exit_code = runner.run() 25 exit_code = runner.run()
25 if exit_code: 26 if exit_code:
26 return exit_code 27 return exit_code
27 28
28 29
29 if __name__ == '__main__': 30 if __name__ == '__main__':
30 sys.exit(main()) 31 sys.exit(main())
OLDNEW
« no previous file with comments | « mojo/devtools/common/android_stack_parser/stack_utils_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698