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

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

Issue 1867063002: Revert of [Android] Switch chromium.gpu bots to mb. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « build/android/buildbot/bb_host_steps.py ('k') | no next file » | 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 os 10 import os
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 std_tests = ['ui', 'unit'] 122 std_tests = ['ui', 'unit']
123 trial_tests = [ 123 trial_tests = [
124 'base_junit_tests', 124 'base_junit_tests',
125 'components_browsertests', 125 'components_browsertests',
126 'gfx_unittests', 126 'gfx_unittests',
127 'gl_unittests', 127 'gl_unittests',
128 ] 128 ]
129 flakiness_server = ( 129 flakiness_server = (
130 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER) 130 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER)
131 experimental = ['--experimental'] 131 experimental = ['--experimental']
132 run_mb = ['--run-mb']
133 bisect_chrome_output_dir = os.path.abspath( 132 bisect_chrome_output_dir = os.path.abspath(
134 os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, 133 os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir,
135 os.pardir, 'bisect', 'src', 'out')) 134 os.pardir, 'bisect', 'src', 'out'))
136 B = BotConfig 135 B = BotConfig
137 H = (lambda steps, extra_args=None, extra_gyp=None, target_arch=None: 136 H = (lambda steps, extra_args=None, extra_gyp=None, target_arch=None:
138 HostConfig('build/android/buildbot/bb_host_steps.py', steps, extra_args, 137 HostConfig('build/android/buildbot/bb_host_steps.py', steps, extra_args,
139 extra_gyp, target_arch)) 138 extra_gyp, target_arch))
140 T = (lambda tests, extra_args=None: 139 T = (lambda tests, extra_args=None:
141 TestConfig('build/android/buildbot/bb_device_steps.py', tests, 140 TestConfig('build/android/buildbot/bb_device_steps.py', tests,
142 extra_args)) 141 extra_args))
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 T(std_tests + python_unittests, 173 T(std_tests + python_unittests,
175 ['--experimental', flakiness_server, 174 ['--experimental', flakiness_server,
176 '--coverage-bucket', CHROMIUM_COVERAGE_BUCKET, 175 '--coverage-bucket', CHROMIUM_COVERAGE_BUCKET,
177 '--cleanup'])), 176 '--cleanup'])),
178 B('user-build-fyi-tests-dbg', H(std_test_steps), 177 B('user-build-fyi-tests-dbg', H(std_test_steps),
179 T(sorted(trial_tests))), 178 T(sorted(trial_tests))),
180 B('fyi-component-builder-tests-dbg', 179 B('fyi-component-builder-tests-dbg',
181 H(compile_step, extra_gyp='component=shared_library'), 180 H(compile_step, extra_gyp='component=shared_library'),
182 T(std_tests, ['--experimental', flakiness_server])), 181 T(std_tests, ['--experimental', flakiness_server])),
183 B('gpu-builder-tests-dbg', 182 B('gpu-builder-tests-dbg',
184 H(compile_step, extra_args=run_mb), 183 H(compile_step),
185 T(['gpu'], ['--install=ContentShell'])), 184 T(['gpu'], ['--install=ContentShell'])),
186 # Pass empty T([]) so that logcat monitor and device status check are run. 185 # Pass empty T([]) so that logcat monitor and device status check are run.
187 B('perf-bisect-builder-tests-dbg', 186 B('perf-bisect-builder-tests-dbg',
188 H(['bisect_perf_regression']), 187 H(['bisect_perf_regression']),
189 T([], ['--chrome-output-dir', bisect_chrome_output_dir])), 188 T([], ['--chrome-output-dir', bisect_chrome_output_dir])),
190 B('perf-tests-rel', H(std_test_steps), 189 B('perf-tests-rel', H(std_test_steps),
191 T([], ['--cleanup'])), 190 T([], ['--cleanup'])),
192 B('webkit-latest-webkit-tests', H(std_test_steps), 191 B('webkit-latest-webkit-tests', H(std_test_steps),
193 T(['webkit_layout', 'webkit'], ['--cleanup', '--auto-reconnect'])), 192 T(['webkit_layout', 'webkit'], ['--cleanup', '--auto-reconnect'])),
194 B('webkit-latest-contentshell', H(compile_step), 193 B('webkit-latest-contentshell', H(compile_step),
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 for command in commands: 306 for command in commands:
308 print 'Will run: ', bb_utils.CommandToString(command) 307 print 'Will run: ', bb_utils.CommandToString(command)
309 print 308 print
310 309
311 env = GetEnvironment(bot_config.host_obj, options.testing) 310 env = GetEnvironment(bot_config.host_obj, options.testing)
312 return RunBotCommands(options, commands, env) 311 return RunBotCommands(options, commands, env)
313 312
314 313
315 if __name__ == '__main__': 314 if __name__ == '__main__':
316 sys.exit(main(sys.argv)) 315 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « build/android/buildbot/bb_host_steps.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698