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

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

Issue 12209034: [Android WebView] Make 3rd party licenses checker to turn bot red (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep the check on the FYI bot Created 7 years, 10 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 | « android_webview/tools/webview_licenses.py ('k') | build/android/buildbot/buildbot_functions.sh » ('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 json 8 import json
9 import optparse 9 import optparse
10 import os 10 import os
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 std_test_steps = ['bb_extract_build'] 72 std_test_steps = ['bb_extract_build']
73 std_tests = ['ui', 'unit'] 73 std_tests = ['ui', 'unit']
74 74
75 B = BotConfig 75 B = BotConfig
76 def T(tests, extra_args=None): 76 def T(tests, extra_args=None):
77 return TestConfig(tests, extra_args) 77 return TestConfig(tests, extra_args)
78 78
79 bot_configs = [ 79 bot_configs = [
80 # Main builders 80 # Main builders
81 B('main-builder-dbg', 81 B('main-builder-dbg',
82 ['bb_compile', 'bb_run_findbugs', 'bb_zip_build'], None, None), 82 ['bb_check_webview_licenses', 'bb_compile', 'bb_run_findbugs',
83 'bb_zip_build'], None, None),
83 B('main-builder-rel', 84 B('main-builder-rel',
84 ['bb_compile', 'bb_zip_build'], None, None), 85 ['bb_compile', 'bb_zip_build'], None, None),
85 B('main-clang-builder', compile_step, None, None), 86 B('main-clang-builder', compile_step, None, None),
86 B('main-clobber', compile_step, None, None), 87 B('main-clobber', compile_step, None, None),
87 B('main-tests', std_test_steps, T(std_tests), None), 88 B('main-tests', std_test_steps, T(std_tests), None),
88 89
89 # Other waterfalls 90 # Other waterfalls
90 B('asan-builder', std_build_steps, None, None), 91 B('asan-builder', std_build_steps, None, None),
91 B('asan-tests', std_test_steps + ['bb_asan_tests_setup'], 92 B('asan-tests', std_test_steps + ['bb_asan_tests_setup'],
92 T(std_tests, ['--asan']), None), 93 T(std_tests, ['--asan']), None),
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 continue 192 continue
192 env = dict(os.environ) 193 env = dict(os.environ)
193 env['BUILDBOT_TESTING'] = '1' 194 env['BUILDBOT_TESTING'] = '1'
194 195
195 return_code |= subprocess.call(command, cwd=CHROME_SRC, env=env) 196 return_code |= subprocess.call(command, cwd=CHROME_SRC, env=env)
196 return return_code 197 return return_code
197 198
198 199
199 if __name__ == '__main__': 200 if __name__ == '__main__':
200 sys.exit(main(sys.argv)) 201 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « android_webview/tools/webview_licenses.py ('k') | build/android/buildbot/buildbot_functions.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698