| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 B('main-builder-rel', | 84 B('main-builder-rel', |
| 85 ['bb_compile', 'bb_zip_build'], None, None), | 85 ['bb_compile', 'bb_zip_build'], None, None), |
| 86 B('main-clang-builder', compile_step, None, None), | 86 B('main-clang-builder', compile_step, None, None), |
| 87 B('main-clobber', compile_step, None, None), | 87 B('main-clobber', compile_step, None, None), |
| 88 B('main-tests', std_test_steps, T(std_tests), None), | 88 B('main-tests', std_test_steps, T(std_tests), None), |
| 89 | 89 |
| 90 # Other waterfalls | 90 # Other waterfalls |
| 91 B('asan-builder', std_build_steps, None, None), | 91 B('asan-builder', std_build_steps, None, None), |
| 92 B('asan-tests', std_test_steps + ['bb_asan_tests_setup'], | 92 B('asan-tests', std_test_steps + ['bb_asan_tests_setup'], |
| 93 T(std_tests, ['--asan']), None), | 93 T(std_tests, ['--asan']), None), |
| 94 B('chromedriver-fyi-tests-dbg', std_test_steps, T(['chromedriver']), |
| 95 None), |
| 94 B('fyi-builder-dbg', | 96 B('fyi-builder-dbg', |
| 95 ['bb_check_webview_licenses', 'bb_compile', 'bb_compile_experimental', | 97 ['bb_check_webview_licenses', 'bb_compile', 'bb_compile_experimental', |
| 96 'bb_run_findbugs', 'bb_zip_build'], None, None), | 98 'bb_run_findbugs', 'bb_zip_build'], None, None), |
| 97 B('fyi-builder-rel', | 99 B('fyi-builder-rel', |
| 98 ['bb_compile', 'bb_compile_experimental', 'bb_zip_build'], None, None), | 100 ['bb_compile', 'bb_compile_experimental', 'bb_zip_build'], None, None), |
| 99 B('fyi-tests', std_test_steps, | 101 B('fyi-tests', std_test_steps, |
| 100 T(std_tests, ['--experimental', '--upload-to-flakiness-server']), None), | 102 T(std_tests, ['--experimental', '--upload-to-flakiness-server']), None), |
| 101 B('perf-tests-rel', std_test_steps, T([], ['--install=ContentShell']), | 103 B('perf-tests-rel', std_test_steps, T([], ['--install=ContentShell']), |
| 102 None), | 104 None), |
| 103 B('try-fyi-tests', std_test_steps, T(std_tests, ['--experimental']), | 105 B('try-fyi-tests', std_test_steps, T(std_tests, ['--experimental']), |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 env = dict(os.environ) | 194 env = dict(os.environ) |
| 193 env['BUILDBOT_TESTING'] = '1' | 195 env['BUILDBOT_TESTING'] = '1' |
| 194 | 196 |
| 195 return_code = subprocess.call(command, cwd=CHROME_SRC, env=env) | 197 return_code = subprocess.call(command, cwd=CHROME_SRC, env=env) |
| 196 if return_code != 0: | 198 if return_code != 0: |
| 197 return return_code | 199 return return_code |
| 198 | 200 |
| 199 | 201 |
| 200 if __name__ == '__main__': | 202 if __name__ == '__main__': |
| 201 sys.exit(main(sys.argv)) | 203 sys.exit(main(sys.argv)) |
| OLD | NEW |