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

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

Issue 20210002: [Android] Sets up a coverage system for java using EMMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes instr.py issues, adds uploading to GS (except for bucket names) Created 7 years, 4 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
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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 B('main-tests', H(std_test_steps), T(std_tests, [flakiness_server])), 137 B('main-tests', H(std_test_steps), T(std_tests, [flakiness_server])),
138 138
139 # Other waterfalls 139 # Other waterfalls
140 B('asan-builder-tests', H(compile_step, extra_gyp='asan=1'), 140 B('asan-builder-tests', H(compile_step, extra_gyp='asan=1'),
141 T(std_tests, ['--asan'])), 141 T(std_tests, ['--asan'])),
142 B('chromedriver-fyi-tests-dbg', H(std_test_steps), 142 B('chromedriver-fyi-tests-dbg', H(std_test_steps),
143 T(['chromedriver'], ['--install=ChromiumTestShell'])), 143 T(['chromedriver'], ['--install=ChromiumTestShell'])),
144 B('fyi-x86-builder-dbg', 144 B('fyi-x86-builder-dbg',
145 H(compile_step + std_host_tests, experimental, target_arch='x86')), 145 H(compile_step + std_host_tests, experimental, target_arch='x86')),
146 B('fyi-builder-dbg', 146 B('fyi-builder-dbg',
147 H(std_build_steps + std_host_tests, experimental)), 147 H(std_build_steps + std_host_tests, experimental,
148 extra_gyp='coverage=1')),
148 B('x86-builder-dbg', 149 B('x86-builder-dbg',
149 H(compile_step + std_host_tests, target_arch='x86')), 150 H(compile_step + std_host_tests, target_arch='x86')),
150 B('fyi-builder-rel', H(std_build_steps, experimental)), 151 B('fyi-builder-rel', H(std_build_steps, experimental)),
151 B('fyi-tests', H(std_test_steps), 152 B('fyi-tests', H(std_test_steps),
152 T(std_tests, ['--experimental', flakiness_server])), 153 T(std_tests, ['--experimental', flakiness_server, '--coverage'])),
153 B('fyi-component-builder-tests-dbg', 154 B('fyi-component-builder-tests-dbg',
154 H(compile_step, extra_gyp='component=shared_library'), 155 H(compile_step, extra_gyp='component=shared_library'),
155 T(std_tests, ['--experimental', flakiness_server])), 156 T(std_tests, ['--experimental', flakiness_server])),
156 B('perf-bisect-builder-tests-dbg', H(['bisect_perf_regression'])), 157 B('perf-bisect-builder-tests-dbg', H(['bisect_perf_regression'])),
157 B('perf-tests-rel', H(std_test_steps), 158 B('perf-tests-rel', H(std_test_steps),
158 T([], ['--install=ChromiumTestShell'])), 159 T([], ['--install=ChromiumTestShell'])),
159 B('webkit-latest-webkit-tests', H(std_test_steps), 160 B('webkit-latest-webkit-tests', H(std_test_steps),
160 T(['webkit_layout', 'webkit'], ['--auto-reconnect'])), 161 T(['webkit_layout', 'webkit'], ['--auto-reconnect'])),
161 B('webkit-latest-contentshell', H(compile_step), 162 B('webkit-latest-contentshell', H(compile_step),
162 T(['webkit_layout'], ['--auto-reconnect'])), 163 T(['webkit_layout'], ['--auto-reconnect'])),
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 for command in commands: 263 for command in commands:
263 print 'Will run: ', bb_utils.CommandToString(command) 264 print 'Will run: ', bb_utils.CommandToString(command)
264 print 265 print
265 266
266 env = GetEnvironment(bot_config.host_obj, options.testing) 267 env = GetEnvironment(bot_config.host_obj, options.testing)
267 return RunBotCommands(options, commands, env) 268 return RunBotCommands(options, commands, env)
268 269
269 270
270 if __name__ == '__main__': 271 if __name__ == '__main__':
271 sys.exit(main(sys.argv)) 272 sys.exit(main(sys.argv))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698