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

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

Issue 1000793002: [Android] Incorporate findbugs into android builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address cjhopman's comment + rebase Created 5 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
« no previous file with comments | « build/android/buildbot/bb_host_steps.py ('k') | build/android/findbugs_action.gypi » ('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 os 10 import os
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 if test_obj.extra_args: 110 if test_obj.extra_args:
111 run_test_cmd.extend(test_obj.extra_args) 111 run_test_cmd.extend(test_obj.extra_args)
112 commands.append(run_test_cmd) 112 commands.append(run_test_cmd)
113 return commands 113 return commands
114 114
115 115
116 def GetBotStepMap(): 116 def GetBotStepMap():
117 compile_step = ['compile'] 117 compile_step = ['compile']
118 chrome_proxy_tests = ['chrome_proxy'] 118 chrome_proxy_tests = ['chrome_proxy']
119 python_unittests = ['python_unittests'] 119 python_unittests = ['python_unittests']
120 std_host_tests = ['check_webview_licenses', 'findbugs'] 120 std_host_tests = ['check_webview_licenses']
121 emma_coverage_tests = [x for x in std_host_tests if x is not 'findbugs']
122 std_build_steps = ['compile', 'zip_build'] 121 std_build_steps = ['compile', 'zip_build']
123 std_test_steps = ['extract_build'] 122 std_test_steps = ['extract_build']
124 std_tests = ['ui', 'unit'] 123 std_tests = ['ui', 'unit']
125 telemetry_tests = ['telemetry_perf_unittests'] 124 telemetry_tests = ['telemetry_perf_unittests']
126 telemetry_tests_user_build = ['telemetry_unittests', 125 telemetry_tests_user_build = ['telemetry_unittests',
127 'telemetry_perf_unittests'] 126 'telemetry_perf_unittests']
128 flakiness_server = ( 127 flakiness_server = (
129 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER) 128 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER)
130 experimental = ['--experimental'] 129 experimental = ['--experimental']
131 bisect_chrome_output_dir = os.path.abspath( 130 bisect_chrome_output_dir = os.path.abspath(
(...skipping 25 matching lines...) Expand all
157 extra_gyp='asan=1 component=shared_library'), 156 extra_gyp='asan=1 component=shared_library'),
158 T(std_tests, ['--asan', '--asan-symbolize'])), 157 T(std_tests, ['--asan', '--asan-symbolize'])),
159 B('blink-try-builder', H(compile_step)), 158 B('blink-try-builder', H(compile_step)),
160 B('chromedriver-fyi-tests-dbg', H(std_test_steps), 159 B('chromedriver-fyi-tests-dbg', H(std_test_steps),
161 T(['chromedriver'], 160 T(['chromedriver'],
162 ['--install=ChromeShell', '--install=ChromeDriverWebViewShell', 161 ['--install=ChromeShell', '--install=ChromeDriverWebViewShell',
163 '--skip-wipe', '--disable-location', '--cleanup'])), 162 '--skip-wipe', '--disable-location', '--cleanup'])),
164 B('fyi-x86-builder-dbg', 163 B('fyi-x86-builder-dbg',
165 H(compile_step + std_host_tests, experimental, target_arch='ia32')), 164 H(compile_step + std_host_tests, experimental, target_arch='ia32')),
166 B('fyi-builder-dbg', 165 B('fyi-builder-dbg',
167 H(std_build_steps + emma_coverage_tests, experimental, 166 H(std_build_steps + std_host_tests, experimental,
168 extra_gyp='emma_coverage=1')), 167 extra_gyp='emma_coverage=1')),
169 B('x86-builder-dbg', 168 B('x86-builder-dbg',
170 H(compile_step + std_host_tests, target_arch='ia32')), 169 H(compile_step + std_host_tests, target_arch='ia32')),
171 B('fyi-builder-rel', H(std_build_steps, experimental)), 170 B('fyi-builder-rel', H(std_build_steps, experimental)),
172 B('fyi-tests', H(std_test_steps), 171 B('fyi-tests', H(std_test_steps),
173 T(std_tests + python_unittests, 172 T(std_tests + python_unittests,
174 ['--experimental', flakiness_server, 173 ['--experimental', flakiness_server,
175 '--coverage-bucket', CHROMIUM_COVERAGE_BUCKET, 174 '--coverage-bucket', CHROMIUM_COVERAGE_BUCKET,
176 '--cleanup'])), 175 '--cleanup'])),
177 B('user-build-fyi-tests-dbg', H(std_test_steps), 176 B('user-build-fyi-tests-dbg', H(std_test_steps),
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 for command in commands: 305 for command in commands:
307 print 'Will run: ', bb_utils.CommandToString(command) 306 print 'Will run: ', bb_utils.CommandToString(command)
308 print 307 print
309 308
310 env = GetEnvironment(bot_config.host_obj, options.testing) 309 env = GetEnvironment(bot_config.host_obj, options.testing)
311 return RunBotCommands(options, commands, env) 310 return RunBotCommands(options, commands, env)
312 311
313 312
314 if __name__ == '__main__': 313 if __name__ == '__main__':
315 sys.exit(main(sys.argv)) 314 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « build/android/buildbot/bb_host_steps.py ('k') | build/android/findbugs_action.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698