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

Side by Side Diff: frog/presubmit.py

Issue 9418045: Support for native in leg, and start moving native tests to a specific test suite. (Closed) Base URL: http://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
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 # Run frogium client tests. This is a pretty quick test but 138 # Run frogium client tests. This is a pretty quick test but
139 # tends to uncover different issues due to the size/complexity 139 # tends to uncover different issues due to the size/complexity
140 # of the DOM APIs. 140 # of the DOM APIs.
141 cmd = test_cmd + ['--component=frogium', 'client'] 141 cmd = test_cmd + ['--component=frogium', 'client']
142 RunCommand(*cmd, verbose=True) 142 RunCommand(*cmd, verbose=True)
143 143
144 # TODO(jimhug): Consider adding co19 back when it delivers more value 144 # TODO(jimhug): Consider adding co19 back when it delivers more value
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', 'native']
ahe 2012/02/19 14:38:02 What about leg?
ngeoffray 2012/02/20 09:09:37 Ah good catch! Did not realize this was only if no
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. 155 # Leg does not implement checked mode yet.
156 test_cmd.remove('--checked') 156 test_cmd.remove('--checked')
157 157
158 cmd = test_cmd + ['--component=leg', 'leg_only'] 158 cmd = test_cmd + ['--component=leg', 'leg_only']
159 RunCommand(*cmd, verbose=True) 159 RunCommand(*cmd, verbose=True)
160 160
161 # Run leg on "built-in" tests. 161 # Run leg on "built-in" tests.
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

Powered by Google App Engine
This is Rietveld 408576698