OLD | NEW |
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 Loading... |
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 Loading... |
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)) |
OLD | NEW |