| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2011 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 # READ THIS: | 7 # READ THIS: |
| 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure | 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure |
| 9 | 9 |
| 10 # These modules come from scripts, which must be in the PYTHONPATH. | 10 # These modules come from scripts, which must be in the PYTHONPATH. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 def CreateBuilder(platform, builder_name, target, webkit=False, | 65 def CreateBuilder(platform, builder_name, target, webkit=False, |
| 66 tests=None, options=None, mode=None, timeout=2400, | 66 tests=None, options=None, mode=None, timeout=2400, |
| 67 slavebuilddir=None, extra_gyp_defines=None, | 67 slavebuilddir=None, extra_gyp_defines=None, |
| 68 gclient_env=None, sharding_supervisor=False, | 68 gclient_env=None, sharding_supervisor=False, |
| 69 unsharded_tests=None): | 69 unsharded_tests=None): |
| 70 """Generates and register a builder along with its slave(s).""" | 70 """Generates and register a builder along with its slave(s).""" |
| 71 if platform not in ('win32', 'win64', 'linux', 'mac'): | 71 if platform not in ('win32', 'win64', 'linux', 'mac'): |
| 72 raise Exception(platform + ' is not a known os type') | 72 raise Exception(platform + ' is not a known os type') |
| 73 factory_properties = { | 73 factory_properties = { |
| 74 'non_default': ['pyauto_functional_tests', 'googleurl_unittests'], | 74 'non_default': [ |
| 75 'check_licenses', |
| 76 'pyauto_functional_tests', |
| 77 'googleurl_unittests' |
| 78 ], |
| 75 } | 79 } |
| 76 if sharding_supervisor: | 80 if sharding_supervisor: |
| 77 factory_properties['sharding_supervisor'] = True | 81 factory_properties['sharding_supervisor'] = True |
| 78 factory_properties['unsharded_tests'] = unsharded_tests or [] | 82 factory_properties['unsharded_tests'] = unsharded_tests or [] |
| 79 project = None | 83 project = None |
| 80 if platform in ('win32', 'win64'): | 84 if platform in ('win32', 'win64'): |
| 81 if webkit: | 85 if webkit: |
| 82 factory = m_chromium_win_webkit | 86 factory = m_chromium_win_webkit |
| 83 else: | 87 else: |
| 84 factory = m_chromium_win | 88 factory = m_chromium_win |
| (...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 ####### PROJECT IDENTITY | 998 ####### PROJECT IDENTITY |
| 995 | 999 |
| 996 # The 'projectURL' string will be used to provide a link | 1000 # The 'projectURL' string will be used to provide a link |
| 997 # from buildbot HTML pages to your project's home page. | 1001 # from buildbot HTML pages to your project's home page. |
| 998 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 1002 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| 999 | 1003 |
| 1000 # Buildbot master url: | 1004 # Buildbot master url: |
| 1001 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' | 1005 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' |
| 1002 | 1006 |
| 1003 # vi: set ts=4 sts=2 sw=2 et: | 1007 # vi: set ts=4 sts=2 sw=2 et: |
| OLD | NEW |