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

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

Issue 317993004: Make corrections to logcat path for perf bisect jobs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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') | 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 def GetBotStepMap(): 116 def GetBotStepMap():
117 compile_step = ['compile'] 117 compile_step = ['compile']
118 std_host_tests = ['check_webview_licenses', 'findbugs'] 118 std_host_tests = ['check_webview_licenses', 'findbugs']
119 std_build_steps = ['compile', 'zip_build'] 119 std_build_steps = ['compile', 'zip_build']
120 std_test_steps = ['extract_build'] 120 std_test_steps = ['extract_build']
121 std_tests = ['ui', 'unit', 'mojo'] 121 std_tests = ['ui', 'unit', 'mojo']
122 telemetry_tests = ['telemetry_perf_unittests'] 122 telemetry_tests = ['telemetry_perf_unittests']
123 flakiness_server = ( 123 flakiness_server = (
124 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER) 124 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER)
125 experimental = ['--experimental'] 125 experimental = ['--experimental']
126 126 bisect_chrome_output_dir = os.path.abspath(
127 os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir,
128 os.pardir, 'bisect', 'src', 'out'))
127 B = BotConfig 129 B = BotConfig
128 H = (lambda steps, extra_args=None, extra_gyp=None, target_arch=None : 130 H = (lambda steps, extra_args=None, extra_gyp=None, target_arch=None :
129 HostConfig('build/android/buildbot/bb_host_steps.py', steps, extra_args, 131 HostConfig('build/android/buildbot/bb_host_steps.py', steps, extra_args,
130 extra_gyp, target_arch)) 132 extra_gyp, target_arch))
131 T = (lambda tests, extra_args=None : 133 T = (lambda tests, extra_args=None :
132 TestConfig('build/android/buildbot/bb_device_steps.py', tests, 134 TestConfig('build/android/buildbot/bb_device_steps.py', tests,
133 extra_args)) 135 extra_args))
134 136
135 bot_configs = [ 137 bot_configs = [
136 # Main builders 138 # Main builders
(...skipping 24 matching lines...) Expand all
161 B('fyi-tests', H(std_test_steps), 163 B('fyi-tests', H(std_test_steps),
162 T(std_tests, ['--experimental', flakiness_server, 164 T(std_tests, ['--experimental', flakiness_server,
163 '--coverage-bucket', CHROMIUM_COVERAGE_BUCKET])), 165 '--coverage-bucket', CHROMIUM_COVERAGE_BUCKET])),
164 B('fyi-component-builder-tests-dbg', 166 B('fyi-component-builder-tests-dbg',
165 H(compile_step, extra_gyp='component=shared_library'), 167 H(compile_step, extra_gyp='component=shared_library'),
166 T(std_tests, ['--experimental', flakiness_server])), 168 T(std_tests, ['--experimental', flakiness_server])),
167 B('gpu-builder-tests-dbg', 169 B('gpu-builder-tests-dbg',
168 H(compile_step), 170 H(compile_step),
169 T(['gpu'], ['--install=ContentShell'])), 171 T(['gpu'], ['--install=ContentShell'])),
170 # Pass empty T([]) so that logcat monitor and device status check are run. 172 # Pass empty T([]) so that logcat monitor and device status check are run.
171 B('perf-bisect-builder-tests-dbg', H(['bisect_perf_regression']), T([])), 173 B('perf-bisect-builder-tests-dbg',
174 H(['bisect_perf_regression']),
175 T([], ['--chrome-output-dir', bisect_chrome_output_dir])),
172 B('perf-tests-rel', H(std_test_steps), 176 B('perf-tests-rel', H(std_test_steps),
173 T([], ['--install=ChromeShell'])), 177 T([], ['--install=ChromeShell'])),
174 B('webkit-latest-webkit-tests', H(std_test_steps), 178 B('webkit-latest-webkit-tests', H(std_test_steps),
175 T(['webkit_layout', 'webkit'], ['--auto-reconnect'])), 179 T(['webkit_layout', 'webkit'], ['--auto-reconnect'])),
176 B('webkit-latest-contentshell', H(compile_step), 180 B('webkit-latest-contentshell', H(compile_step),
177 T(['webkit_layout'], ['--auto-reconnect'])), 181 T(['webkit_layout'], ['--auto-reconnect'])),
178 B('builder-unit-tests', H(compile_step), T(['unit'])), 182 B('builder-unit-tests', H(compile_step), T(['unit'])),
179 B('webrtc-chromium-builder', 183 B('webrtc-chromium-builder',
180 H(std_build_steps, 184 H(std_build_steps,
181 extra_args=['--build-targets=android_builder_chromium_webrtc'])), 185 extra_args=['--build-targets=android_builder_chromium_webrtc'])),
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 for command in commands: 305 for command in commands:
302 print 'Will run: ', bb_utils.CommandToString(command) 306 print 'Will run: ', bb_utils.CommandToString(command)
303 print 307 print
304 308
305 env = GetEnvironment(bot_config.host_obj, options.testing) 309 env = GetEnvironment(bot_config.host_obj, options.testing)
306 return RunBotCommands(options, commands, env) 310 return RunBotCommands(options, commands, env)
307 311
308 312
309 if __name__ == '__main__': 313 if __name__ == '__main__':
310 sys.exit(main(sys.argv)) 314 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « build/android/buildbot/bb_device_steps.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698