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

Side by Side Diff: dart/frog/presubmit.py

Issue 9310113: Debug means debug build, --checked is a seperate step (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
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
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 # than pain. 145 # than pain.
146 # Run frogsh on most of the tests. 146 # Run frogsh on most of the tests.
147 cmd = test_cmd + ['--component=frogsh', 'language', 'corelib', 147 cmd = test_cmd + ['--component=frogsh', 'language', 'corelib',
148 'isolate', 'peg', 'frog', 'css', 'dartdoc'] 148 'isolate', 'peg', 'frog', 'css', 'dartdoc']
149 RunCommand(*cmd, verbose=True) 149 RunCommand(*cmd, verbose=True)
150 150
151 # Run leg unit tests. 151 # Run leg unit tests.
152 cmd = test_cmd + ['--component=vm', 'leg'] 152 cmd = test_cmd + ['--component=vm', 'leg']
153 RunCommand(*cmd, verbose=True) 153 RunCommand(*cmd, verbose=True)
154 154
155 # Leg does not implement checked mode yet.
156 test_cmd.remove('--checked')
157
155 cmd = test_cmd + ['--component=leg', 'leg_only'] 158 cmd = test_cmd + ['--component=leg', 'leg_only']
156 RunCommand(*cmd, verbose=True) 159 RunCommand(*cmd, verbose=True)
157 160
158 # Run leg on "built-in" tests. 161 # Run leg on "built-in" tests.
159 cmd = test_cmd + ['--component=leg'] 162 cmd = test_cmd + ['--component=leg']
160 RunCommand(*cmd, verbose=True) 163 RunCommand(*cmd, verbose=True)
161 164
162 165
163 if __name__ == '__main__': 166 if __name__ == '__main__':
164 try: 167 try:
165 sys.exit(main()) 168 sys.exit(main())
166 except Error as e: 169 except Error as e:
167 sys.stderr.write('%s\n' % e) 170 sys.stderr.write('%s\n' % e)
168 sys.exit(1) 171 sys.exit(1)
OLDNEW
« no previous file with comments | « no previous file | dart/frog/scripts/buildbot_annotated_steps.py » ('j') | dart/frog/scripts/buildbot_annotated_steps.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698