| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 B('perf-bisect-builder-tests-dbg', | 178 B('perf-bisect-builder-tests-dbg', |
| 179 H(['bisect_perf_regression']), | 179 H(['bisect_perf_regression']), |
| 180 T([], ['--chrome-output-dir', bisect_chrome_output_dir])), | 180 T([], ['--chrome-output-dir', bisect_chrome_output_dir])), |
| 181 B('perf-tests-rel', H(std_test_steps), | 181 B('perf-tests-rel', H(std_test_steps), |
| 182 T([], ['--install=ChromeShell', '--cleanup'])), | 182 T([], ['--install=ChromeShell', '--cleanup'])), |
| 183 B('webkit-latest-webkit-tests', H(std_test_steps), | 183 B('webkit-latest-webkit-tests', H(std_test_steps), |
| 184 T(['webkit_layout', 'webkit'], ['--cleanup', '--auto-reconnect'])), | 184 T(['webkit_layout', 'webkit'], ['--cleanup', '--auto-reconnect'])), |
| 185 B('webkit-latest-contentshell', H(compile_step), | 185 B('webkit-latest-contentshell', H(compile_step), |
| 186 T(['webkit_layout'], ['--auto-reconnect'])), | 186 T(['webkit_layout'], ['--auto-reconnect'])), |
| 187 B('builder-unit-tests', H(compile_step), T(['unit'])), | 187 B('builder-unit-tests', H(compile_step), T(['unit'])), |
| 188 B('webrtc-chromium-builder', | |
| 189 H(std_build_steps, | |
| 190 extra_args=['--build-targets=android_builder_chromium_webrtc'])), | |
| 191 B('webrtc-native-builder', | |
| 192 H(std_build_steps, | |
| 193 extra_args=['--build-targets=android_builder_webrtc'], | |
| 194 extra_gyp='include_tests=1 enable_tracing=1')), | |
| 195 B('webrtc-chromium-tests', H(std_test_steps), | |
| 196 T(['webrtc_chromium'], | |
| 197 [flakiness_server, '--gtest-filter=WebRtc*', '--cleanup'])), | |
| 198 B('webrtc-native-tests', H(std_test_steps), | |
| 199 T(['webrtc_native'], ['--cleanup', flakiness_server])), | |
| 200 | 188 |
| 201 # Generic builder config (for substring match). | 189 # Generic builder config (for substring match). |
| 202 B('builder', H(std_build_steps)), | 190 B('builder', H(std_build_steps)), |
| 203 ] | 191 ] |
| 204 | 192 |
| 205 bot_map = dict((config.bot_id, config) for config in bot_configs) | 193 bot_map = dict((config.bot_id, config) for config in bot_configs) |
| 206 | 194 |
| 207 # These bots have identical configuration to ones defined earlier. | 195 # These bots have identical configuration to ones defined earlier. |
| 208 copy_map = [ | 196 copy_map = [ |
| 209 ('lkgr-clobber', 'main-clobber'), | 197 ('lkgr-clobber', 'main-clobber'), |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 for command in commands: | 298 for command in commands: |
| 311 print 'Will run: ', bb_utils.CommandToString(command) | 299 print 'Will run: ', bb_utils.CommandToString(command) |
| 312 print | 300 print |
| 313 | 301 |
| 314 env = GetEnvironment(bot_config.host_obj, options.testing) | 302 env = GetEnvironment(bot_config.host_obj, options.testing) |
| 315 return RunBotCommands(options, commands, env) | 303 return RunBotCommands(options, commands, env) |
| 316 | 304 |
| 317 | 305 |
| 318 if __name__ == '__main__': | 306 if __name__ == '__main__': |
| 319 sys.exit(main(sys.argv)) | 307 sys.exit(main(sys.argv)) |
| OLD | NEW |