| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 B('fyi-builder-rel', | 96 B('fyi-builder-rel', |
| 97 ['bb_compile', 'bb_compile_experimental', 'bb_zip_build'], None, None), | 97 ['bb_compile', 'bb_compile_experimental', 'bb_zip_build'], None, None), |
| 98 B('fyi-tests', std_test_steps, | 98 B('fyi-tests', std_test_steps, |
| 99 T(std_tests, ['--experimental', '--upload-to-flakiness-server']), None), | 99 T(std_tests, ['--experimental', '--upload-to-flakiness-server']), None), |
| 100 B('perf-tests-rel', std_test_steps, T([], ['--install=ContentShell']), | 100 B('perf-tests-rel', std_test_steps, T([], ['--install=ContentShell']), |
| 101 None), | 101 None), |
| 102 B('try-fyi-tests', std_test_steps, T(std_tests, ['--experimental']), | 102 B('try-fyi-tests', std_test_steps, T(std_tests, ['--experimental']), |
| 103 None), | 103 None), |
| 104 B('webkit-latest-webkit-tests', std_test_steps, | 104 B('webkit-latest-webkit-tests', std_test_steps, |
| 105 T(['webkit_layout', 'webkit']), None), | 105 T(['webkit_layout', 'webkit']), None), |
| 106 B('webkit-latest-contentshell', compile_step, T(['webkit_layout']), None), |
| 106 | 107 |
| 107 # Generic builder config (for substring match). | 108 # Generic builder config (for substring match). |
| 108 B('builder', std_build_steps, None, None), | 109 B('builder', std_build_steps, None, None), |
| 109 ] | 110 ] |
| 110 | 111 |
| 111 bot_map = dict((config.bot_id, config) for config in bot_configs) | 112 bot_map = dict((config.bot_id, config) for config in bot_configs) |
| 112 | 113 |
| 113 # These bots have identical configuration to ones defined earlier. | 114 # These bots have identical configuration to ones defined earlier. |
| 114 copy_map = [ | 115 copy_map = [ |
| 115 ('try-builder-dbg', 'main-builder-dbg'), | 116 ('try-builder-dbg', 'main-builder-dbg'), |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 continue | 191 continue |
| 191 env = dict(os.environ) | 192 env = dict(os.environ) |
| 192 env['BUILDBOT_TESTING'] = '1' | 193 env['BUILDBOT_TESTING'] = '1' |
| 193 | 194 |
| 194 return_code |= subprocess.call(command, cwd=CHROME_SRC, env=env) | 195 return_code |= subprocess.call(command, cwd=CHROME_SRC, env=env) |
| 195 return return_code | 196 return return_code |
| 196 | 197 |
| 197 | 198 |
| 198 if __name__ == '__main__': | 199 if __name__ == '__main__': |
| 199 sys.exit(main(sys.argv)) | 200 sys.exit(main(sys.argv)) |
| OLD | NEW |