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

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

Issue 72273003: [Android] Upstream android lint script and run it on debug builders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: newt's comments Created 7 years, 1 month 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
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 for test in test_obj.tests: 108 for test in test_obj.tests:
109 run_test_cmd.extend(['-f', test]) 109 run_test_cmd.extend(['-f', test])
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 std_host_tests = ['check_webview_licenses', 'findbugs'] 118 std_host_tests = ['check_webview_licenses', 'findbugs', 'lint']
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'] 121 std_tests = ['ui', 'unit']
122 flakiness_server = ( 122 flakiness_server = (
123 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER) 123 '--flakiness-server=%s' % constants.UPSTREAM_FLAKINESS_SERVER)
124 experimental = ['--experimental'] 124 experimental = ['--experimental']
125 125
126 B = BotConfig 126 B = BotConfig
127 H = (lambda steps, extra_args=None, extra_gyp=None, target_arch=None : 127 H = (lambda steps, extra_args=None, extra_gyp=None, target_arch=None :
128 HostConfig('build/android/buildbot/bb_host_steps.py', steps, extra_args, 128 HostConfig('build/android/buildbot/bb_host_steps.py', steps, extra_args,
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 for command in commands: 282 for command in commands:
283 print 'Will run: ', bb_utils.CommandToString(command) 283 print 'Will run: ', bb_utils.CommandToString(command)
284 print 284 print
285 285
286 env = GetEnvironment(bot_config.host_obj, options.testing) 286 env = GetEnvironment(bot_config.host_obj, options.testing)
287 return RunBotCommands(options, commands, env) 287 return RunBotCommands(options, commands, env)
288 288
289 289
290 if __name__ == '__main__': 290 if __name__ == '__main__':
291 sys.exit(main(sys.argv)) 291 sys.exit(main(sys.argv))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698