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 optparse | 10 import optparse |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 B('webkit-latest-contentshell', compile_step, T(['webkit_layout']), None), | 121 B('webkit-latest-contentshell', compile_step, T(['webkit_layout']), None), |
122 | 122 |
123 # Generic builder config (for substring match). | 123 # Generic builder config (for substring match). |
124 B('builder', std_build_steps, None, None), | 124 B('builder', std_build_steps, None, None), |
125 ] | 125 ] |
126 | 126 |
127 bot_map = dict((config.bot_id, config) for config in bot_configs) | 127 bot_map = dict((config.bot_id, config) for config in bot_configs) |
128 | 128 |
129 # These bots have identical configuration to ones defined earlier. | 129 # These bots have identical configuration to ones defined earlier. |
130 copy_map = [ | 130 copy_map = [ |
| 131 ('lkgr-clobber', 'main-clobber'), |
131 ('try-builder-dbg', 'main-builder-dbg'), | 132 ('try-builder-dbg', 'main-builder-dbg'), |
132 ('try-builder-rel', 'main-builder-rel'), | 133 ('try-builder-rel', 'main-builder-rel'), |
133 ('try-clang-builder', 'main-clang-builder'), | 134 ('try-clang-builder', 'main-clang-builder'), |
134 ('try-fyi-builder-dbg', 'fyi-builder-dbg'), | 135 ('try-fyi-builder-dbg', 'fyi-builder-dbg'), |
135 ('try-tests', 'main-tests'), | 136 ('try-tests', 'main-tests'), |
136 ('try-fyi-tests', 'fyi-tests'), | 137 ('try-fyi-tests', 'fyi-tests'), |
137 ('webkit-latest-tests', 'main-tests'), | 138 ('webkit-latest-tests', 'main-tests'), |
138 ] | 139 ] |
139 for to_id, from_id in copy_map: | 140 for to_id, from_id in copy_map: |
140 assert to_id not in bot_map | 141 assert to_id not in bot_map |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 cwd=CHROME_SRC, | 216 cwd=CHROME_SRC, |
216 env=dict(os.environ, BUILDBOT_TESTING='1')) | 217 env=dict(os.environ, BUILDBOT_TESTING='1')) |
217 else: | 218 else: |
218 return_code = subprocess.call(command, cwd=CHROME_SRC, env=env) | 219 return_code = subprocess.call(command, cwd=CHROME_SRC, env=env) |
219 if return_code != 0: | 220 if return_code != 0: |
220 return return_code | 221 return return_code |
221 | 222 |
222 | 223 |
223 if __name__ == '__main__': | 224 if __name__ == '__main__': |
224 sys.exit(main(sys.argv)) | 225 sys.exit(main(sys.argv)) |
OLD | NEW |