| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 """ Verifies that the configuration for each BuildFactory matches its | 5 """ Verifies that the configuration for each BuildFactory matches its |
| 6 expectation. """ | 6 expectation. """ |
| 7 | 7 |
| 8 | 8 |
| 9 import os | 9 import os |
| 10 import sys | 10 import sys |
| 11 | 11 |
| 12 sys.path.append('master') | 12 sys.path.append('master') |
| 13 sys.path.append('site_config') | 13 sys.path.append('site_config') |
| 14 sys.path.append(os.path.join('third_party', 'chromium_buildbot', 'scripts')) | 14 sys.path.append(os.path.join('third_party', 'chromium_buildbot', 'scripts')) |
| 15 sys.path.append(os.path.join('third_party', 'chromium_buildbot', 'site_config')) | 15 sys.path.append(os.path.join('third_party', 'chromium_buildbot', 'site_config')) |
| 16 sys.path.append(os.path.join('third_party', 'chromium_buildbot', 'third_party', | 16 sys.path.append(os.path.join('third_party', 'chromium_buildbot', 'third_party', |
| 17 'buildbot_8_4p1')) | 17 'buildbot_8_4p1')) |
| 18 | 18 |
| 19 import config | 19 import config |
| 20 import master_builders_cfg | 20 import master_builders_cfg |
| 21 | 21 |
| 22 |
| 22 def main(): | 23 def main(): |
| 23 c = {} | 24 c = {} |
| 24 c['schedulers'] = [] | 25 c['schedulers'] = [] |
| 25 c['builders'] = [] | 26 c['builders'] = [] |
| 26 master_builders_cfg.Update(config, config.Master.Skia, c) | 27 master_builders_cfg.Update(config, config.Master.Skia, c) |
| 27 | 28 |
| 28 | 29 |
| 29 if '__main__' == __name__: | 30 if '__main__' == __name__: |
| 30 main() | 31 sys.exit(main()) |
| OLD | NEW |