| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 | 115 |
| 116 def GetBotStepMap(): | 116 def GetBotStepMap(): |
| 117 compile_step = ['compile'] | 117 compile_step = ['compile'] |
| 118 chrome_proxy_tests = ['chrome_proxy'] | 118 chrome_proxy_tests = ['chrome_proxy'] |
| 119 chrome_sync_shell_tests = ['sync'] | 119 chrome_sync_shell_tests = ['sync'] |
| 120 python_unittests = ['python_unittests'] | 120 python_unittests = ['python_unittests'] |
| 121 std_host_tests = ['check_webview_licenses', 'findbugs'] | 121 std_host_tests = ['check_webview_licenses', 'findbugs'] |
| 122 emma_coverage_tests = [x for x in std_host_tests if x is not 'findbugs'] | 122 emma_coverage_tests = [x for x in std_host_tests if x is not 'findbugs'] |
| 123 std_build_steps = ['compile', 'zip_build'] | 123 std_build_steps = ['compile', 'zip_build'] |
| 124 std_test_steps = ['extract_build'] | 124 std_test_steps = ['extract_build'] |
| 125 std_tests = ['ui', 'unit', 'mojo'] | 125 std_tests = ['ui', 'unit'] |
| 126 telemetry_tests = ['telemetry_perf_unittests'] | 126 telemetry_tests = ['telemetry_perf_unittests'] |
| 127 flakiness_server = ( | 127 flakiness_server = ( |
| 128 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER) | 128 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER) |
| 129 experimental = ['--experimental'] | 129 experimental = ['--experimental'] |
| 130 bisect_chrome_output_dir = os.path.abspath( | 130 bisect_chrome_output_dir = os.path.abspath( |
| 131 os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, | 131 os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, |
| 132 os.pardir, 'bisect', 'src', 'out')) | 132 os.pardir, 'bisect', 'src', 'out')) |
| 133 B = BotConfig | 133 B = BotConfig |
| 134 H = (lambda steps, extra_args=None, extra_gyp=None, target_arch=None : | 134 H = (lambda steps, extra_args=None, extra_gyp=None, target_arch=None : |
| 135 HostConfig('build/android/buildbot/bb_host_steps.py', steps, extra_args, | 135 HostConfig('build/android/buildbot/bb_host_steps.py', steps, extra_args, |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 for command in commands: | 302 for command in commands: |
| 303 print 'Will run: ', bb_utils.CommandToString(command) | 303 print 'Will run: ', bb_utils.CommandToString(command) |
| 304 print | 304 print |
| 305 | 305 |
| 306 env = GetEnvironment(bot_config.host_obj, options.testing) | 306 env = GetEnvironment(bot_config.host_obj, options.testing) |
| 307 return RunBotCommands(options, commands, env) | 307 return RunBotCommands(options, commands, env) |
| 308 | 308 |
| 309 | 309 |
| 310 if __name__ == '__main__': | 310 if __name__ == '__main__': |
| 311 sys.exit(main(sys.argv)) | 311 sys.exit(main(sys.argv)) |
| OLD | NEW |