| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 """Utility class to build the chromium master BuildFactory's. | 5 """Utility class to build the chromium master BuildFactory's. |
| 6 | 6 |
| 7 Based on gclient_factory.py and adds chromium-specific steps.""" | 7 Based on gclient_factory.py and adds chromium-specific steps.""" |
| 8 | 8 |
| 9 import os | 9 import os |
| 10 import re | 10 import re |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 # http://build.chromium.org/buildbot/waterfall/stats into account. | 213 # http://build.chromium.org/buildbot/waterfall/stats into account. |
| 214 # Tests that fail more often should be earlier in the queue. | 214 # Tests that fail more often should be earlier in the queue. |
| 215 | 215 |
| 216 # Check for an early bail. Do early since this may cancel other tests. | 216 # Check for an early bail. Do early since this may cancel other tests. |
| 217 if R('check_lkgr'): f.AddCheckLKGRStep() | 217 if R('check_lkgr'): f.AddCheckLKGRStep() |
| 218 | 218 |
| 219 # Scripted checks to verify various properties of the codebase: | 219 # Scripted checks to verify various properties of the codebase: |
| 220 if R('check_deps'): f.AddCheckDepsStep() | 220 if R('check_deps'): f.AddCheckDepsStep() |
| 221 if R('check_bins'): f.AddCheckBinsStep() | 221 if R('check_bins'): f.AddCheckBinsStep() |
| 222 if R('check_perms'): f.AddCheckPermsStep() | 222 if R('check_perms'): f.AddCheckPermsStep() |
| 223 if R('check_licenses'): f.AddCheckLicensesStep() |
| 223 | 224 |
| 224 # Small ("module") unit tests: | 225 # Small ("module") unit tests: |
| 225 if R('base'): f.AddBasicGTestTestStep('base_unittests', fp) | 226 if R('base'): f.AddBasicGTestTestStep('base_unittests', fp) |
| 226 if R('cacheinvalidation'): | 227 if R('cacheinvalidation'): |
| 227 f.AddBasicGTestTestStep('cacheinvalidation_unittests', fp) | 228 f.AddBasicGTestTestStep('cacheinvalidation_unittests', fp) |
| 228 if R('courgette'): f.AddBasicGTestTestStep('courgette_unittests', fp) | 229 if R('courgette'): f.AddBasicGTestTestStep('courgette_unittests', fp) |
| 229 if R('crypto'): f.AddBasicGTestTestStep('crypto_unittests', fp) | 230 if R('crypto'): f.AddBasicGTestTestStep('crypto_unittests', fp) |
| 230 if R('dbus'): f.AddBasicGTestTestStep('dbus_unittests', fp) | 231 if R('dbus'): f.AddBasicGTestTestStep('dbus_unittests', fp) |
| 231 if R('gfx'): f.AddBasicGTestTestStep('gfx_unittests', fp) | 232 if R('gfx'): f.AddBasicGTestTestStep('gfx_unittests', fp) |
| 232 if R('googleurl'): f.AddBasicGTestTestStep('googleurl_unittests', fp) | 233 if R('googleurl'): f.AddBasicGTestTestStep('googleurl_unittests', fp) |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 738 self._solutions[1].svn_url == config.Master.trunk_internal_url_src): | 739 self._solutions[1].svn_url == config.Master.trunk_internal_url_src): |
| 739 svn_url = 'ssh://gerrit-int.chromium.org:29419/chrome/src-internal' | 740 svn_url = 'ssh://gerrit-int.chromium.org:29419/chrome/src-internal' |
| 740 self._solutions[1] = gclient_factory.GClientSolution( | 741 self._solutions[1] = gclient_factory.GClientSolution( |
| 741 svn_url=svn_url, | 742 svn_url=svn_url, |
| 742 name='src-internal', | 743 name='src-internal', |
| 743 custom_deps_file='.DEPS.git', | 744 custom_deps_file='.DEPS.git', |
| 744 needed_components=self.NEEDED_COMPONENTS_INTERNAL) | 745 needed_components=self.NEEDED_COMPONENTS_INTERNAL) |
| 745 return self.ChromiumFactory(target, clobber, tests, mode, slave_type, | 746 return self.ChromiumFactory(target, clobber, tests, mode, slave_type, |
| 746 options, compile_timeout, build_url, project, | 747 options, compile_timeout, build_url, project, |
| 747 factory_properties) | 748 factory_properties) |
| OLD | NEW |