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

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

Issue 614083003: Disable findbugs on emma_coverage=1 bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: respond to codereview Created 6 years, 2 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 | « no previous file | 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 chrome_sync_shell_tests = ['sync'] 119 chrome_sync_shell_tests = ['sync']
120 std_host_tests = ['check_webview_licenses', 'findbugs'] 120 std_host_tests = ['check_webview_licenses', 'findbugs']
121 emma_coverage_tests = [x for x in std_host_tests if x is not 'findbugs']
121 std_build_steps = ['compile', 'zip_build'] 122 std_build_steps = ['compile', 'zip_build']
122 std_test_steps = ['extract_build'] 123 std_test_steps = ['extract_build']
123 std_tests = ['ui', 'unit', 'mojo'] 124 std_tests = ['ui', 'unit', 'mojo']
124 telemetry_tests = ['telemetry_perf_unittests'] 125 telemetry_tests = ['telemetry_perf_unittests']
125 flakiness_server = ( 126 flakiness_server = (
126 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER) 127 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER)
127 experimental = ['--experimental'] 128 experimental = ['--experimental']
128 bisect_chrome_output_dir = os.path.abspath( 129 bisect_chrome_output_dir = os.path.abspath(
129 os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, 130 os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir,
130 os.pardir, 'bisect', 'src', 'out')) 131 os.pardir, 'bisect', 'src', 'out'))
(...skipping 22 matching lines...) Expand all
153 B('asan-builder-tests', H(compile_step, 154 B('asan-builder-tests', H(compile_step,
154 extra_gyp='asan=1 component=shared_library'), 155 extra_gyp='asan=1 component=shared_library'),
155 T(std_tests, ['--asan', '--asan-symbolize'])), 156 T(std_tests, ['--asan', '--asan-symbolize'])),
156 B('blink-try-builder', H(compile_step)), 157 B('blink-try-builder', H(compile_step)),
157 B('chromedriver-fyi-tests-dbg', H(std_test_steps), 158 B('chromedriver-fyi-tests-dbg', H(std_test_steps),
158 T(['chromedriver'], ['--install=ChromeShell', '--skip-wipe', 159 T(['chromedriver'], ['--install=ChromeShell', '--skip-wipe',
159 '--cleanup'])), 160 '--cleanup'])),
160 B('fyi-x86-builder-dbg', 161 B('fyi-x86-builder-dbg',
161 H(compile_step + std_host_tests, experimental, target_arch='ia32')), 162 H(compile_step + std_host_tests, experimental, target_arch='ia32')),
162 B('fyi-builder-dbg', 163 B('fyi-builder-dbg',
163 H(std_build_steps + std_host_tests, experimental, 164 H(std_build_steps + emma_coverage_tests, experimental,
164 extra_gyp='emma_coverage=1')), 165 extra_gyp='emma_coverage=1')),
165 B('x86-builder-dbg', 166 B('x86-builder-dbg',
166 H(compile_step + std_host_tests, target_arch='ia32')), 167 H(compile_step + std_host_tests, target_arch='ia32')),
167 B('fyi-builder-rel', H(std_build_steps, experimental)), 168 B('fyi-builder-rel', H(std_build_steps, experimental)),
168 B('fyi-tests', H(std_test_steps), 169 B('fyi-tests', H(std_test_steps),
169 T(std_tests + chrome_sync_shell_tests, 170 T(std_tests + chrome_sync_shell_tests,
170 ['--experimental', flakiness_server, 171 ['--experimental', flakiness_server,
171 '--coverage-bucket', CHROMIUM_COVERAGE_BUCKET, 172 '--coverage-bucket', CHROMIUM_COVERAGE_BUCKET,
172 '--cleanup'])), 173 '--cleanup'])),
173 B('fyi-component-builder-tests-dbg', 174 B('fyi-component-builder-tests-dbg',
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 for command in commands: 301 for command in commands:
301 print 'Will run: ', bb_utils.CommandToString(command) 302 print 'Will run: ', bb_utils.CommandToString(command)
302 print 303 print
303 304
304 env = GetEnvironment(bot_config.host_obj, options.testing) 305 env = GetEnvironment(bot_config.host_obj, options.testing)
305 return RunBotCommands(options, commands, env) 306 return RunBotCommands(options, commands, env)
306 307
307 308
308 if __name__ == '__main__': 309 if __name__ == '__main__':
309 sys.exit(main(sys.argv)) 310 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698