Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Side by Side Diff: build/android/buildbot/bb_run_bot.py

Issue 12733012: Provision Android devices after the 'device_status_check' step. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include time.h Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/android/buildbot/bb_device_steps.py ('k') | build/android/host_heartbeat.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 optparse 10 import optparse
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 T(std_tests, ['--asan']), None), 106 T(std_tests, ['--asan']), None),
107 B('chromedriver-fyi-tests-dbg', std_test_steps, T(['chromedriver']), 107 B('chromedriver-fyi-tests-dbg', std_test_steps, T(['chromedriver']),
108 None), 108 None),
109 B('fyi-builder-dbg', 109 B('fyi-builder-dbg',
110 ['bb_check_webview_licenses', 'bb_compile', 'bb_compile_experimental', 110 ['bb_check_webview_licenses', 'bb_compile', 'bb_compile_experimental',
111 'bb_run_findbugs', 'bb_zip_build'], None, None), 111 'bb_run_findbugs', 'bb_zip_build'], None, None),
112 B('fyi-builder-rel', 112 B('fyi-builder-rel',
113 ['bb_compile', 'bb_compile_experimental', 'bb_zip_build'], None, None), 113 ['bb_compile', 'bb_compile_experimental', 'bb_zip_build'], None, None),
114 B('fyi-tests', std_test_steps, 114 B('fyi-tests', std_test_steps,
115 T(std_tests, ['--experimental', flakiness_server]), None), 115 T(std_tests, ['--experimental', flakiness_server]), None),
116 B('perf-tests-rel', std_test_steps, T([], ['--install=ContentShell']), 116 B('perf-tests-rel', std_test_steps,
117 T([], ['--install=ContentShell', '--auto-reconnect']),
117 None), 118 None),
118 B('webkit-latest-webkit-tests', std_test_steps, 119 B('webkit-latest-webkit-tests', std_test_steps,
119 T(['webkit_layout', 'webkit']), None), 120 T(['webkit_layout', 'webkit']), None),
120 B('webkit-latest-contentshell', compile_step, T(['webkit_layout']), None), 121 B('webkit-latest-contentshell', compile_step, T(['webkit_layout']), None),
121 122
122 # Generic builder config (for substring match). 123 # Generic builder config (for substring match).
123 B('builder', std_build_steps, None, None), 124 B('builder', std_build_steps, None, None),
124 ] 125 ]
125 126
126 bot_map = dict((config.bot_id, config) for config in bot_configs) 127 bot_map = dict((config.bot_id, config) for config in bot_configs)
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 cwd=CHROME_SRC, 215 cwd=CHROME_SRC,
215 env=dict(os.environ, BUILDBOT_TESTING='1')) 216 env=dict(os.environ, BUILDBOT_TESTING='1'))
216 else: 217 else:
217 return_code = subprocess.call(command, cwd=CHROME_SRC, env=env) 218 return_code = subprocess.call(command, cwd=CHROME_SRC, env=env)
218 if return_code != 0: 219 if return_code != 0:
219 return return_code 220 return return_code
220 221
221 222
222 if __name__ == '__main__': 223 if __name__ == '__main__':
223 sys.exit(main(sys.argv)) 224 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « build/android/buildbot/bb_device_steps.py ('k') | build/android/host_heartbeat.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698