| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # | 2 # |
| 3 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2013 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 import collections | 7 import collections |
| 8 import copy | 8 import copy |
| 9 import json | 9 import json |
| 10 import os | 10 import os |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 std_build_steps = ['compile', 'zip_build'] | 121 std_build_steps = ['compile', 'zip_build'] |
| 122 std_test_steps = ['extract_build'] | 122 std_test_steps = ['extract_build'] |
| 123 std_tests = ['ui', 'unit'] | 123 std_tests = ['ui', 'unit'] |
| 124 telemetry_tests = ['telemetry_perf_unittests'] | 124 telemetry_tests = ['telemetry_perf_unittests'] |
| 125 telemetry_tests_user_build = ['telemetry_unittests', | 125 telemetry_tests_user_build = ['telemetry_unittests', |
| 126 'telemetry_perf_unittests'] | 126 'telemetry_perf_unittests'] |
| 127 trial_tests = [ | 127 trial_tests = [ |
| 128 'base_junit_tests', | 128 'base_junit_tests', |
| 129 'components_browsertests', | 129 'components_browsertests', |
| 130 'gfx_unittests', | 130 'gfx_unittests', |
| 131 'gl_unittests', |
| 131 ] | 132 ] |
| 132 flakiness_server = ( | 133 flakiness_server = ( |
| 133 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER) | 134 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER) |
| 134 experimental = ['--experimental'] | 135 experimental = ['--experimental'] |
| 135 bisect_chrome_output_dir = os.path.abspath( | 136 bisect_chrome_output_dir = os.path.abspath( |
| 136 os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, | 137 os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, |
| 137 os.pardir, 'bisect', 'src', 'out')) | 138 os.pardir, 'bisect', 'src', 'out')) |
| 138 B = BotConfig | 139 B = BotConfig |
| 139 H = (lambda steps, extra_args=None, extra_gyp=None, target_arch=None: | 140 H = (lambda steps, extra_args=None, extra_gyp=None, target_arch=None: |
| 140 HostConfig('build/android/buildbot/bb_host_steps.py', steps, extra_args, | 141 HostConfig('build/android/buildbot/bb_host_steps.py', steps, extra_args, |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 for command in commands: | 311 for command in commands: |
| 311 print 'Will run: ', bb_utils.CommandToString(command) | 312 print 'Will run: ', bb_utils.CommandToString(command) |
| 312 print | 313 print |
| 313 | 314 |
| 314 env = GetEnvironment(bot_config.host_obj, options.testing) | 315 env = GetEnvironment(bot_config.host_obj, options.testing) |
| 315 return RunBotCommands(options, commands, env) | 316 return RunBotCommands(options, commands, env) |
| 316 | 317 |
| 317 | 318 |
| 318 if __name__ == '__main__': | 319 if __name__ == '__main__': |
| 319 sys.exit(main(sys.argv)) | 320 sys.exit(main(sys.argv)) |
| OLD | NEW |