| OLD | NEW |
| (Empty) | |
| 1 #!/usr/bin/python |
| 2 |
| 3 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 4 # for details. All rights reserved. Use of this source code is governed by a |
| 5 # BSD-style license that can be found in the LICENSE file. |
| 6 |
| 7 import re |
| 8 import sys |
| 9 |
| 10 import bot |
| 11 import bot_utils |
| 12 |
| 13 utils = bot_utils.GetUtils() |
| 14 |
| 15 PACKAGES_BUILDER = r'packages-(windows|linux|mac)-(core-elements|polymer)' |
| 16 |
| 17 def PackagesConfig(name, is_buildbot): |
| 18 packages_pattern = re.match(PACKAGES_BUILDER, name) |
| 19 if not packages_pattern: |
| 20 return None |
| 21 system = packages_pattern.group(1) |
| 22 |
| 23 return bot.BuildInfo('none', 'vm', 'release', system, checked=True) |
| 24 |
| 25 def PackagesSteps(build_info): |
| 26 with bot.BuildStep('Testing packages'): |
| 27 bot_name, _ = bot.GetBotName() |
| 28 print bot_name |
| 29 |
| 30 if __name__ == '__main__': |
| 31 bot.RunBot(PackagesConfig, PackagesSteps) |
| OLD | NEW |