| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # WebKit test builders using the Skia graphics library. | 5 # WebKit test builders using the Skia graphics library. |
| 6 # | 6 # |
| 7 # Note that we use the builder vs tester role separation differently | 7 # Note that we use the builder vs tester role separation differently |
| 8 # here than in our other buildbot configurations. | 8 # here than in our other buildbot configurations. |
| 9 # | 9 # |
| 10 # In this configuration, the testers build the tests themselves rather than | 10 # In this configuration, the testers build the tests themselves rather than |
| 11 # extracting them from the builder. That's because these testers always | 11 # extracting them from the builder. That's because these testers always |
| 12 # fetch from webkit HEAD, and by the time the tester runs, webkit HEAD may | 12 # fetch from webkit HEAD, and by the time the tester runs, webkit HEAD may |
| 13 # point at a different revision than it did when the builder fetched webkit. | 13 # point at a different revision than it did when the builder fetched webkit. |
| 14 # | 14 # |
| 15 # Even though the testers don't extract the build package from the builder, | 15 # Even though the testers don't extract the build package from the builder, |
| 16 # the builder is still useful because it can cycle more quickly than the | 16 # the builder is still useful because it can cycle more quickly than the |
| 17 # builder+tester can, and can alert us more quickly to build breakages. | 17 # builder+tester can, and can alert us more quickly to build breakages. |
| 18 # | 18 # |
| 19 # If you have questions about this, you can ask nsylvain. | 19 # If you have questions about this, you can ask nsylvain. |
| 20 | 20 |
| 21 from master import master_config | 21 from master import master_config |
| 22 from master.factory import chromium_factory | 22 from master.factory import chromium_factory |
| 23 | 23 |
| 24 import config | 24 import master_site_config |
| 25 | 25 |
| 26 ActiveMaster = config.Master.ChromiumWebkit | 26 ActiveMaster = master_site_config.ChromiumWebkit |
| 27 | 27 |
| 28 defaults = {} | 28 defaults = {} |
| 29 | 29 |
| 30 helper = master_config.Helper(defaults) | 30 helper = master_config.Helper(defaults) |
| 31 B = helper.Builder | 31 B = helper.Builder |
| 32 F = helper.Factory | 32 F = helper.Factory |
| 33 S = helper.Scheduler | 33 S = helper.Scheduler |
| 34 T = helper.Triggerable | 34 T = helper.Triggerable |
| 35 | 35 |
| 36 def mac(): return chromium_factory.ChromiumFactory('src/out', 'darwin') | 36 def mac(): return chromium_factory.ChromiumFactory('src/out', 'darwin') |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 B('WebKit Mac10.7 (dbg)', 'f_webkit_dbg_tests', | 196 B('WebKit Mac10.7 (dbg)', 'f_webkit_dbg_tests', |
| 197 scheduler='s5_webkit_dbg_trigger') | 197 scheduler='s5_webkit_dbg_trigger') |
| 198 | 198 |
| 199 | 199 |
| 200 ################################################################################ | 200 ################################################################################ |
| 201 ## | 201 ## |
| 202 ################################################################################ | 202 ################################################################################ |
| 203 | 203 |
| 204 def Update(_config, active_master, c): | 204 def Update(_config, active_master, c): |
| 205 return helper.Update(c) | 205 return helper.Update(c) |
| OLD | NEW |