Chromium Code Reviews| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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_port' : '9001', |
| 92 'swarm_server' : 'vm155-m1'}) | 92 'swarm_server' : 'http://vm155-m1'}) |
|
M-A Ruel
2012/04/19 19:07:19
'swarm_server' : 'http://vm155-m1:9001/'})
?
csharp
2012/04/19 19:23:22
Done.
| |
| 93 | 93 |
| 94 | 94 |
| 95 # ---------------------------------------------------------------------------- | 95 # ---------------------------------------------------------------------------- |
| 96 # FACTORIES | 96 # FACTORIES |
| 97 | 97 |
| 98 m_linux = swarm_factory.SwarmFactory('src/build', | 98 m_linux = swarm_factory.SwarmFactory('src/build', |
| 99 target_platform='linux2') | 99 target_platform='linux2') |
| 100 f_chromium_linux_swarm = SetupSwarmTests(m_linux) | 100 f_chromium_linux_swarm = SetupSwarmTests(m_linux) |
| 101 | 101 |
| 102 m_win = swarm_factory.SwarmFactory('src/build', | 102 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, | 154 master_utils.AutoSetupMaster(c, ActiveMaster, |
| 155 public_html="../master.chromium.git/public_html", | 155 public_html="../master.chromium.git/public_html", |
| 156 templates=['../master.chromium/templates'], | 156 templates=['../master.chromium/templates'], |
| 157 enable_http_status_push=ActiveMaster.is_production_host) | 157 enable_http_status_push=ActiveMaster.is_production_host) |
| 158 | 158 |
| 159 ####### PROJECT IDENTITY | 159 ####### PROJECT IDENTITY |
| 160 | 160 |
| 161 c['projectName'] = ActiveMaster.project_name | 161 c['projectName'] = ActiveMaster.project_name |
| 162 c['projectURL'] = config.Master.project_url | 162 c['projectURL'] = config.Master.project_url |
| 163 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.swarm/' | 163 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.swarm/' |
| OLD | NEW |