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

Side by Side Diff: frog/presubmit.py

Issue 9555013: Get dartdoc in the SDK and working correctly. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update copyright date. Created 8 years, 9 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/reader.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 #!/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', 'frog_native']
149 'frog_native']
150 RunCommand(*cmd, verbose=True) 149 RunCommand(*cmd, verbose=True)
151 150
151 # Run the "utils" tests which includes dartdoc. Frog/leg changes often
152 # break dartdoc and this tries to catch those.
153 cmd = test_cmd + ['--component=vm', 'utils']
ahe 2012/03/03 08:59:15 The tests are ordered by "first crawl, then walk,
154 RunCommand(*cmd, verbose=True)
155
152 # Run leg unit tests. 156 # Run leg unit tests.
153 cmd = test_cmd + ['--component=vm', 'leg'] 157 cmd = test_cmd + ['--component=vm', 'leg']
154 RunCommand(*cmd, verbose=True) 158 RunCommand(*cmd, verbose=True)
155 159
156 # Leg does not implement checked mode yet. 160 # Leg does not implement checked mode yet.
157 test_cmd.remove('--checked') 161 test_cmd.remove('--checked')
158 162
159 cmd = test_cmd + ['--component=leg', 'leg_only'] 163 cmd = test_cmd + ['--component=leg', 'leg_only']
160 RunCommand(*cmd, verbose=True) 164 RunCommand(*cmd, verbose=True)
161 165
162 cmd = test_cmd + ['--component=leg', 'frog_native'] 166 cmd = test_cmd + ['--component=leg', 'frog_native']
163 RunCommand(*cmd, verbose=True) 167 RunCommand(*cmd, verbose=True)
164 168
165 # Run leg on "built-in" tests. 169 # Run leg on "built-in" tests.
166 cmd = test_cmd + ['--component=leg'] 170 cmd = test_cmd + ['--component=leg']
167 RunCommand(*cmd, verbose=True) 171 RunCommand(*cmd, verbose=True)
168 172
169 173
170 if __name__ == '__main__': 174 if __name__ == '__main__':
171 try: 175 try:
172 sys.exit(main()) 176 sys.exit(main())
173 except Error as e: 177 except Error as e:
174 sys.stderr.write('%s\n' % e) 178 sys.stderr.write('%s\n' % e)
175 sys.exit(1) 179 sys.exit(1)
OLDNEW
« no previous file with comments | « no previous file | frog/reader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698