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