| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
| 6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
| 7 | 7 |
| 8 from buildbot.changes import svnpoller | 8 from buildbot.changes import svnpoller |
| 9 from buildbot.scheduler import Scheduler | 9 from buildbot.scheduler import Scheduler |
| 10 | 10 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 81 |
| 82 builders = [] | 82 builders = [] |
| 83 | 83 |
| 84 def SetupSwarmTests(machine, project=None): | 84 def SetupSwarmTests(machine, project=None): |
| 85 return machine.SwarmFactory( | 85 return machine.SwarmFactory( |
| 86 tests=['base_unittests', 'net_unittests'], | 86 tests=['base_unittests', 'net_unittests'], |
| 87 options=['base_unittests_run', 'net_unittests_run'], | 87 options=['base_unittests_run', 'net_unittests_run'], |
| 88 project=project, | 88 project=project, |
| 89 factory_properties={ | 89 factory_properties={ |
| 90 'gclient_env' : {'GYP_DEFINES': 'tests_run=hashtable'}, | 90 'gclient_env' : {'GYP_DEFINES': 'tests_run=hashtable'}, |
| 91 'swarm_port' : '9001', | 91 'swarm_server' : 'http://vm155-m1:9001/'}) |
| 92 'swarm_server' : 'vm155-m1'}) | |
| 93 | 92 |
| 94 | 93 |
| 95 # ---------------------------------------------------------------------------- | 94 # ---------------------------------------------------------------------------- |
| 96 # FACTORIES | 95 # FACTORIES |
| 97 | 96 |
| 98 m_linux = swarm_factory.SwarmFactory('src/build', | 97 m_linux = swarm_factory.SwarmFactory('src/build', |
| 99 target_platform='linux2') | 98 target_platform='linux2') |
| 100 f_chromium_linux_swarm = SetupSwarmTests(m_linux) | 99 f_chromium_linux_swarm = SetupSwarmTests(m_linux) |
| 101 | 100 |
| 102 m_win = swarm_factory.SwarmFactory('src/build', | 101 m_win = swarm_factory.SwarmFactory('src/build', |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 master_utils.AutoSetupMaster(c, ActiveMaster, | 153 master_utils.AutoSetupMaster(c, ActiveMaster, |
| 155 public_html="../master.chromium.git/public_html", | 154 public_html="../master.chromium.git/public_html", |
| 156 templates=['../master.chromium/templates'], | 155 templates=['../master.chromium/templates'], |
| 157 enable_http_status_push=ActiveMaster.is_production_host) | 156 enable_http_status_push=ActiveMaster.is_production_host) |
| 158 | 157 |
| 159 ####### PROJECT IDENTITY | 158 ####### PROJECT IDENTITY |
| 160 | 159 |
| 161 c['projectName'] = ActiveMaster.project_name | 160 c['projectName'] = ActiveMaster.project_name |
| 162 c['projectURL'] = config.Master.project_url | 161 c['projectURL'] = config.Master.project_url |
| 163 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.swarm/' | 162 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.swarm/' |
| OLD | NEW |