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

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

Issue 9155001: Use test.dart for dartc buildbot. Ensure that test.dart creates the build directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « no previous file | tools/testing/dart/multitest.dart » ('j') | 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
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 """Compiles the client code to javascript for dartc tests.""" 77 """Compiles the client code to javascript for dartc tests."""
78 return subprocess.call( 78 return subprocess.call(
79 [sys.executable, './tools/build.py', '--mode=' + mode, 'compiler']) 79 [sys.executable, './tools/build.py', '--mode=' + mode, 'compiler'])
80 80
81 def RunBrowserTests(component, mode, platform): 81 def RunBrowserTests(component, mode, platform):
82 """Runs the Dart client tests.""" 82 """Runs the Dart client tests."""
83 if platform == 'linux': 83 if platform == 'linux':
84 cmd = ['xvfb-run'] 84 cmd = ['xvfb-run']
85 else: 85 else:
86 cmd = [] 86 cmd = []
87 cmd += [sys.executable, './tools/test.py', 87 cmd += [sys.executable, './tools/test_wrapper.py',
88 '--component=' + component, '--mode=' + mode, 88 '--component=' + component, '--mode=' + mode,
89 '--time', '--report', '--progress=buildbot', '-v'] 89 '--time', '--report', '--progress=buildbot', '-v']
90 return subprocess.call(cmd) 90 return subprocess.call(cmd)
91 91
92 def GetUtils(): 92 def GetUtils():
93 ''' 93 '''
94 dynamically get the utils module 94 dynamically get the utils module
95 We use a dynamic import for tools/util.py because we derive its location 95 We use a dynamic import for tools/util.py because we derive its location
96 dynamically using sys.argv[0]. This allows us to run this script from 96 dynamically using sys.argv[0]. This allows us to run this script from
97 different directories. 97 different directories.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 status = ProcessDartClientTests(component, mode, platform, name) 203 status = ProcessDartClientTests(component, mode, platform, name)
204 204
205 if status: 205 if status:
206 print '@@@STEP_FAILURE@@@' 206 print '@@@STEP_FAILURE@@@'
207 207
208 return status 208 return status
209 209
210 210
211 if __name__ == '__main__': 211 if __name__ == '__main__':
212 sys.exit(main()) 212 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/multitest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698