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

Side by Side Diff: client/tools/buildbot_annotated_steps.py

Issue 10834352: TBR (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | 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 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 #!/usr/bin/python 5 #!/usr/bin/python
6 6
7 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 7 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
8 # Use of this source code is governed by a BSD-style license that can be 8 # Use of this source code is governed by a BSD-style license that can be
9 # found in the LICENSE file. 9 # found in the LICENSE file.
10 10
11 """Dart client buildbot steps 11 """Dart client buildbot steps
12 12
13 Compiles dart client apps with dartc, and run the client tests both in headless 13 Compiles dart client apps with dartc, and run the client tests both in headless
14 chromium and headless dartium. 14 chromium and headless dartium.
15 """ 15 """
16 16
17 import os 17 import os
18 import re 18 import re
19 import socket 19 import socket
20 import subprocess 20 import subprocess
21 import sys 21 import sys
22 import shutil 22 import shutil
23 import glob 23 import glob
24 24
25 BUILDER_NAME = 'BUILDBOT_BUILDERNAME' 25 BUILDER_NAME = 'BUILDBOT_BUILDERNAME'
26 BUILDER_CLOBBER = 'BUILDBOT_CLOBBER'
26 REVISION = 'BUILDBOT_REVISION' 27 REVISION = 'BUILDBOT_REVISION'
27 28
28 # latest dartium location 29 # latest dartium location
29 DARTIUM_VERSION_FILE = 'client/tests/drt/LAST_VERSION' 30 DARTIUM_VERSION_FILE = 'client/tests/drt/LAST_VERSION'
30 DARTIUM_V_MATCHER = ( 31 DARTIUM_V_MATCHER = (
31 'gs://dartium-archive/[^/]*/dartium-\w*-inc-([0-9]*).([0-9]*).zip') 32 'gs://dartium-archive/[^/]*/dartium-\w*-inc-([0-9]*).([0-9]*).zip')
32 33
33 def GetBuildInfo(): 34 def GetBuildInfo():
34 """Returns a tuple (name, version, mode) where: 35 """Returns a tuple (name, version, mode) where:
35 - name: A name for the build - the buildbot host if a buildbot. 36 - name: A name for the build - the buildbot host if a buildbot.
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 status = ProcessCompiler(name) 182 status = ProcessCompiler(name)
182 183
183 if status: 184 if status:
184 print '@@@STEP_FAILURE@@@' 185 print '@@@STEP_FAILURE@@@'
185 186
186 return status 187 return status
187 188
188 189
189 if __name__ == '__main__': 190 if __name__ == '__main__':
190 sys.exit(main()) 191 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698