| 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 copy | 8 import copy |
| 9 import json | 9 import json |
| 10 import os | 10 import os |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 T(std_tests, ['--experimental', flakiness_server])), | 142 T(std_tests, ['--experimental', flakiness_server])), |
| 143 B('fyi-tests', H(std_test_steps), | 143 B('fyi-tests', H(std_test_steps), |
| 144 T(std_tests, ['--experimental', flakiness_server])), | 144 T(std_tests, ['--experimental', flakiness_server])), |
| 145 B('fyi-component-builder-tests-dbg', | 145 B('fyi-component-builder-tests-dbg', |
| 146 H(compile_step, extra_gyp='component=shared_library'), | 146 H(compile_step, extra_gyp='component=shared_library'), |
| 147 T(std_tests, ['--experimental', flakiness_server])), | 147 T(std_tests, ['--experimental', flakiness_server])), |
| 148 B('perf-bisect-builder-tests-dbg', H(['bisect_perf_regression'])), | 148 B('perf-bisect-builder-tests-dbg', H(['bisect_perf_regression'])), |
| 149 B('perf-tests-rel', H(std_test_steps), | 149 B('perf-tests-rel', H(std_test_steps), |
| 150 T([], ['--install=ChromiumTestShell'])), | 150 T([], ['--install=ChromiumTestShell'])), |
| 151 B('webkit-latest-webkit-tests', H(std_test_steps), | 151 B('webkit-latest-webkit-tests', H(std_test_steps), |
| 152 T(['webkit_layout', 'webkit'])), | 152 T(['webkit_layout', 'webkit'], ['--auto-reconnect'])), |
| 153 B('webkit-latest-contentshell', H(compile_step), T(['webkit_layout'])), | 153 B('webkit-latest-contentshell', H(compile_step), |
| 154 T(['webkit_layout'], ['--auto-reconnect'])), |
| 154 B('builder-unit-tests', H(compile_step), T(['unit'])), | 155 B('builder-unit-tests', H(compile_step), T(['unit'])), |
| 155 | 156 |
| 156 # Generic builder config (for substring match). | 157 # Generic builder config (for substring match). |
| 157 B('builder', H(std_build_steps)), | 158 B('builder', H(std_build_steps)), |
| 158 ] | 159 ] |
| 159 | 160 |
| 160 bot_map = dict((config.bot_id, config) for config in bot_configs) | 161 bot_map = dict((config.bot_id, config) for config in bot_configs) |
| 161 | 162 |
| 162 # These bots have identical configuration to ones defined earlier. | 163 # These bots have identical configuration to ones defined earlier. |
| 163 copy_map = [ | 164 copy_map = [ |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 sys.stdout.flush() | 241 sys.stdout.flush() |
| 241 if options.testing: | 242 if options.testing: |
| 242 env['BUILDBOT_TESTING'] = '1' | 243 env['BUILDBOT_TESTING'] = '1' |
| 243 return_code = subprocess.call(command, cwd=bb_utils.CHROME_SRC, env=env) | 244 return_code = subprocess.call(command, cwd=bb_utils.CHROME_SRC, env=env) |
| 244 if return_code != 0: | 245 if return_code != 0: |
| 245 return return_code | 246 return return_code |
| 246 | 247 |
| 247 | 248 |
| 248 if __name__ == '__main__': | 249 if __name__ == '__main__': |
| 249 sys.exit(main(sys.argv)) | 250 sys.exit(main(sys.argv)) |
| OLD | NEW |