OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # | 2 # |
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 """DEPRECATED! | 7 """DEPRECATED! |
8 TODO(bulach): remove me once all other repositories reference | 8 TODO(bulach): remove me once all other repositories reference |
9 'test_runner.py perf' directly. | 9 'test_runner.py perf' directly. |
10 """ | 10 """ |
(...skipping 16 matching lines...) Expand all Loading... |
27 parser.add_option('-p', '--print_results', | 27 parser.add_option('-p', '--print_results', |
28 help='Only prints the results for the previously ' | 28 help='Only prints the results for the previously ' |
29 'executed step, do not run it again.') | 29 'executed step, do not run it again.') |
30 options, urls = parser.parse_args(argv) | 30 options, urls = parser.parse_args(argv) |
31 if options.print_results: | 31 if options.print_results: |
32 return cmd_helper.RunCmd(['build/android/test_runner.py', 'perf', | 32 return cmd_helper.RunCmd(['build/android/test_runner.py', 'perf', |
33 '--print-step', options.print_results]) | 33 '--print-step', options.print_results]) |
34 flaky_options = [] | 34 flaky_options = [] |
35 if options.flaky_steps: | 35 if options.flaky_steps: |
36 flaky_options = ['--flaky-steps', options.flaky_steps] | 36 flaky_options = ['--flaky-steps', options.flaky_steps] |
37 return cmd_helper.RunCmd(['build/android/test_runner.py', 'perf', | 37 return cmd_helper.RunCmd(['build/android/test_runner.py', 'perf', '-v', |
38 '--steps', options.steps] + flaky_options) | 38 '--steps', options.steps] + flaky_options) |
39 | 39 |
40 | 40 |
41 if __name__ == '__main__': | 41 if __name__ == '__main__': |
42 sys.exit(main(sys.argv)) | 42 sys.exit(main(sys.argv)) |
OLD | NEW |