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

Side by Side Diff: frog/presubmit.py

Issue 10191033: test renaming overhaul: step 4 client tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | « client/tests/dartc/dartc.status ('k') | 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 RunCommand(*test_cmd, verbose=True) 91 RunCommand(*test_cmd, verbose=True)
92 else: 92 else:
93 if not options.leg_only: 93 if not options.leg_only:
94 # Run frog.py on the corelib tests, so we get some frog.py coverage. 94 # Run frog.py on the corelib tests, so we get some frog.py coverage.
95 cmd = test_cmd + ['--compiler=frog', '--runtime=d8', 'corelib'] 95 cmd = test_cmd + ['--compiler=frog', '--runtime=d8', 'corelib']
96 RunCommand(*cmd, verbose=True) 96 RunCommand(*cmd, verbose=True)
97 97
98 # Run frogium client tests. This is a pretty quick test but 98 # Run frogium client tests. This is a pretty quick test but
99 # tends to uncover different issues due to the size/complexity 99 # tends to uncover different issues due to the size/complexity
100 # of the DOM APIs. 100 # of the DOM APIs.
101 cmd = test_cmd + ['--compiler=frog', '--runtime=drt', 'client'] 101 cmd = test_cmd + ['--compiler=frog', '--runtime=drt',
102 'dom', 'html', 'json', 'benchmark_smoke']
102 RunCommand(*cmd, verbose=True) 103 RunCommand(*cmd, verbose=True)
103 104
104 # Run frog on most of the tests. 105 # Run frog on most of the tests.
105 cmd = test_cmd + ['--compiler=frog', '--runtime=d8', 106 cmd = test_cmd + ['--compiler=frog', '--runtime=d8',
106 'language', 'corelib', 107 'language', 'corelib',
107 'isolate', 'peg', 'frog', 'css', 'frog_native'] 108 'isolate', 'peg', 'frog', 'css', 'frog_native']
108 RunCommand(*cmd, verbose=True) 109 RunCommand(*cmd, verbose=True)
109 110
110 # Run the "utils" tests which includes dartdoc. Frog/leg changes often 111 # Run the "utils" tests which includes dartdoc. Frog/leg changes often
111 # break dartdoc and this tries to catch those. 112 # break dartdoc and this tries to catch those.
(...skipping 15 matching lines...) Expand all
127 cmd = test_cmd + ['--compiler=dart2js', '--runtime=d8,drt'] 128 cmd = test_cmd + ['--compiler=dart2js', '--runtime=d8,drt']
128 RunCommand(*cmd, verbose=True) 129 RunCommand(*cmd, verbose=True)
129 130
130 131
131 if __name__ == '__main__': 132 if __name__ == '__main__':
132 try: 133 try:
133 sys.exit(main()) 134 sys.exit(main())
134 except Error as e: 135 except Error as e:
135 sys.stderr.write('%s\n' % e) 136 sys.stderr.write('%s\n' % e)
136 sys.exit(1) 137 sys.exit(1)
OLDNEW
« no previous file with comments | « client/tests/dartc/dartc.status ('k') | frog/scripts/buildbot_annotated_steps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698