| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 """Set of utilities to add commands to a buildbot factory (BuildFactory). | 5 """Set of utilities to add commands to a buildbot factory (BuildFactory). |
| 6 | 6 |
| 7 All the utility functions to add steps to a build factory here are not | 7 All the utility functions to add steps to a build factory here are not |
| 8 project-specific. See the other *_commands.py for project-specific commands. | 8 project-specific. See the other *_commands.py for project-specific commands. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 'chrome-mac-beta': 'mac-beta', | 264 'chrome-mac-beta': 'mac-beta', |
| 265 'chrome-mac-stable': 'mac-stable', | 265 'chrome-mac-stable': 'mac-stable', |
| 266 'chrome-win-beta': 'win-beta', | 266 'chrome-win-beta': 'win-beta', |
| 267 'chrome-win-stable': 'win-stable', | 267 'chrome-win-stable': 'win-stable', |
| 268 'chromium-linux-targets': 'linux-targets', | 268 'chromium-linux-targets': 'linux-targets', |
| 269 'chromium-mac-targets': 'mac-targets', | 269 'chromium-mac-targets': 'mac-targets', |
| 270 'chromium-rel-linux': 'linux-release', | 270 'chromium-rel-linux': 'linux-release', |
| 271 'chromium-rel-linux-64': 'linux-release-64', | 271 'chromium-rel-linux-64': 'linux-release-64', |
| 272 'chromium-rel-linux-hardy': 'linux-release-hardy', | 272 'chromium-rel-linux-hardy': 'linux-release-hardy', |
| 273 'chromium-rel-linux-hardy-lowmem': 'linux-release-lowmem', | 273 'chromium-rel-linux-hardy-lowmem': 'linux-release-lowmem', |
| 274 'chromium-rel-linux-memory': 'linux-release-memory', |
| 274 'chromium-rel-linux-webkit': 'linux-release-webkit-latest', | 275 'chromium-rel-linux-webkit': 'linux-release-webkit-latest', |
| 275 'chromium-rel-mac': 'mac-release', | 276 'chromium-rel-mac': 'mac-release', |
| 277 'chromium-rel-mac-memory': 'mac-release-memory', |
| 276 'chromium-rel-mac5': 'mac-release-10.5', | 278 'chromium-rel-mac5': 'mac-release-10.5', |
| 277 'chromium-rel-mac6': 'mac-release-10.6', | 279 'chromium-rel-mac6': 'mac-release-10.6', |
| 278 'chromium-rel-mac5-v8': 'mac-release-10.5-v8-latest', | 280 'chromium-rel-mac5-v8': 'mac-release-10.5-v8-latest', |
| 279 'chromium-rel-mac6-v8': 'mac-release-10.6-v8-latest', | 281 'chromium-rel-mac6-v8': 'mac-release-10.6-v8-latest', |
| 280 'chromium-rel-mac6-webkit': 'mac-release-10.6-webkit-latest', | 282 'chromium-rel-mac6-webkit': 'mac-release-10.6-webkit-latest', |
| 281 'chromium-rel-old-mac6': 'mac-release-old-10.6', | 283 'chromium-rel-old-mac6': 'mac-release-old-10.6', |
| 282 'chromium-rel-vista-dual': 'vista-release-dual-core', | 284 'chromium-rel-vista-dual': 'vista-release-dual-core', |
| 283 'chromium-rel-vista-dual-v8': 'vista-release-v8-latest', | 285 'chromium-rel-vista-dual-v8': 'vista-release-v8-latest', |
| 286 'chromium-rel-vista-memory': 'vista-release-memory', |
| 284 'chromium-rel-vista-single': 'vista-release-single-core', | 287 'chromium-rel-vista-single': 'vista-release-single-core', |
| 285 'chromium-rel-vista-webkit': 'vista-release-webkit-latest', | 288 'chromium-rel-vista-webkit': 'vista-release-webkit-latest', |
| 286 'chromium-rel-xp': 'xp-release', | 289 'chromium-rel-xp': 'xp-release', |
| 287 'chromium-rel-xp-dual': 'xp-release-dual-core', | 290 'chromium-rel-xp-dual': 'xp-release-dual-core', |
| 288 'chromium-rel-xp-single': 'xp-release-single-core', | 291 'chromium-rel-xp-single': 'xp-release-single-core', |
| 289 'chromium-win-targets': 'win-targets', | 292 'chromium-win-targets': 'win-targets', |
| 290 'nacl-lucid64-spec-x86': 'nacl-lucid64-spec-x86', | 293 'nacl-lucid64-spec-x86': 'nacl-lucid64-spec-x86', |
| 291 'nacl-lucid64-spec-arm': 'nacl-lucid64-spec-arm', | 294 'nacl-lucid64-spec-arm': 'nacl-lucid64-spec-arm', |
| 292 'nacl-lucid64-spec-trans': 'nacl-lucid64-spec-trans', | 295 'nacl-lucid64-spec-trans': 'nacl-lucid64-spec-trans', |
| 293 }, | 296 }, |
| (...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1289 | 1292 |
| 1290 def commandComplete(self, cmd): | 1293 def commandComplete(self, cmd): |
| 1291 out = cmd.logs['stdio'].getText() | 1294 out = cmd.logs['stdio'].getText() |
| 1292 build_properties = re.findall('BUILD_PROPERTY ([^=]*)=(.*)', out) | 1295 build_properties = re.findall('BUILD_PROPERTY ([^=]*)=(.*)', out) |
| 1293 for propname, value in build_properties: | 1296 for propname, value in build_properties: |
| 1294 # findall can return strings containing CR characters, remove with strip. | 1297 # findall can return strings containing CR characters, remove with strip. |
| 1295 self.build.setProperty(propname, value.strip(), 'Step') | 1298 self.build.setProperty(propname, value.strip(), 'Step') |
| 1296 | 1299 |
| 1297 def getText(self, cmd, results): | 1300 def getText(self, cmd, results): |
| 1298 return self.describe(True) + self.messages | 1301 return self.describe(True) + self.messages |
| OLD | NEW |