Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Side by Side Diff: tools/bots/pub.py

Issue 11833035: Status file updates for jsshell (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« tests/lib/lib.status ('K') | « tests/lib/lib.status ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 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. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 """ 7 """
8 Pub buildbot steps. 8 Pub buildbot steps.
9 9
10 Runs tests for pub and the pub packages that are hosted in the main Dart repo. 10 Runs tests for pub and the pub packages that are hosted in the main Dart repo.
11 """ 11 """
12 12
13 import re 13 import re
14 import sys 14 import sys
15 15
16 import bot 16 import bot
17 17
18 PUB_BUILDER = r'pub-(linux|mac|win)' 18 PUB_BUILDER = r'pub-(linux|mac|win)(-russian)?'
ngeoffray 2013/01/10 14:19:34 Is that related?
19 19
20 def PubConfig(name, is_buildbot): 20 def PubConfig(name, is_buildbot):
21 """Returns info for the current buildbot based on the name of the builder. 21 """Returns info for the current buildbot based on the name of the builder.
22 22
23 Currently, this is just: 23 Currently, this is just:
24 - mode: always "release" 24 - mode: always "release"
25 - system: "linux", "mac", or "win" 25 - system: "linux", "mac", or "win"
26 """ 26 """
27 pub_pattern = re.match(PUB_BUILDER, name) 27 pub_pattern = re.match(PUB_BUILDER, name)
28 if not pub_pattern: 28 if not pub_pattern:
(...skipping 16 matching lines...) Expand all
45 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 45 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
46 'packages'] 46 'packages']
47 print 'Building package-root: %s' % (' '.join(args)) 47 print 'Building package-root: %s' % (' '.join(args))
48 bot.RunProcess(args) 48 bot.RunProcess(args)
49 49
50 bot.RunTest('pub', build_info, ['pub', 'pkg']) 50 bot.RunTest('pub', build_info, ['pub', 'pkg'])
51 51
52 52
53 if __name__ == '__main__': 53 if __name__ == '__main__':
54 bot.RunBot(PubConfig, PubSteps) 54 bot.RunBot(PubConfig, PubSteps)
OLDNEW
« tests/lib/lib.status ('K') | « tests/lib/lib.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698