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

Side by Side Diff: frog/presubmit.py

Issue 9369026: Remove test_wrapper.py, replace with test.py (which calls test.dart). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | frog/scripts/buildbot_annotated_steps.py » ('j') | 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/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 import optparse 6 import optparse
7 import os 7 import os
8 import stat 8 import stat
9 import subprocess 9 import subprocess
10 import sys 10 import sys
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 111
112 def main(): 112 def main():
113 (options, args) = BuildOptions().parse_args() 113 (options, args) = BuildOptions().parse_args()
114 114
115 RunCommand('../tools/build.py', '--mode=release') 115 RunCommand('../tools/build.py', '--mode=release')
116 116
117 if not options.leg_only: 117 if not options.leg_only:
118 SelfHost() 118 SelfHost()
119 119
120 test_cmd = ['../tools/test_wrapper.py', '--report', '--timeout=30', 120 test_cmd = ['../tools/test.py', '--report', '--timeout=30',
121 '--progress=color', '--mode=release', '--checked'] 121 '--progress=color', '--mode=release', '--checked']
122 122
123 if options.notest: return 123 if options.notest: return
124 124
125 if args: 125 if args:
126 if options.leg_only: 126 if options.leg_only:
127 test_cmd.append('--component=leg') 127 test_cmd.append('--component=leg')
128 else: 128 else:
129 test_cmd.append('--component=frogsh,leg') 129 test_cmd.append('--component=frogsh,leg')
130 test_cmd.extend(args) 130 test_cmd.extend(args)
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 cmd = test_cmd + ['--component=leg'] 162 cmd = test_cmd + ['--component=leg']
163 RunCommand(*cmd, verbose=True) 163 RunCommand(*cmd, verbose=True)
164 164
165 165
166 if __name__ == '__main__': 166 if __name__ == '__main__':
167 try: 167 try:
168 sys.exit(main()) 168 sys.exit(main())
169 except Error as e: 169 except Error as e:
170 sys.stderr.write('%s\n' % e) 170 sys.stderr.write('%s\n' % e)
171 sys.exit(1) 171 sys.exit(1)
OLDNEW
« no previous file with comments | « no previous file | frog/scripts/buildbot_annotated_steps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698