| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2011, 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 Loading... |
| 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'] | 148 'isolate', 'peg', 'frog', 'css', 'dartdoc'] |
| 149 RunCommand(*cmd, verbose=True) | 149 RunCommand(*cmd, verbose=True) |
| 150 | 150 |
| 151 # Run leg on "built-in" tests. | 151 # Run leg on "built-in" tests. |
| 152 cmd = test_cmd + ['--component=leg'] | 152 cmd = test_cmd + ['--component=leg'] |
| 153 RunCommand(*cmd, verbose=True) | 153 RunCommand(*cmd, verbose=True) |
| 154 | 154 |
| 155 cmd = test_cmd + ['--component=leg', 'leg_only'] | 155 cmd = test_cmd + ['--component=leg', 'leg_only'] |
| 156 RunCommand(*cmd, verbose=True) | 156 RunCommand(*cmd, verbose=True) |
| 157 | 157 |
| 158 cmd = test_cmd + ['--component=vm', 'leg'] | 158 cmd = test_cmd + ['--component=vm', 'leg'] |
| 159 RunCommand(*cmd, verbose=True) | 159 RunCommand(*cmd, verbose=True) |
| 160 | 160 |
| 161 cmd = test_cmd + ['--component=frogsh', 'leg', 'leg_only'] | 161 cmd = test_cmd + ['--component=frogsh', 'leg', 'leg_only'] |
| 162 RunCommand(*cmd, verbose=True) | 162 RunCommand(*cmd, verbose=True) |
| 163 | 163 |
| 164 if __name__ == '__main__': | 164 if __name__ == '__main__': |
| 165 try: | 165 try: |
| 166 sys.exit(main()) | 166 sys.exit(main()) |
| 167 except Error as e: | 167 except Error as e: |
| 168 sys.stderr.write('%s\n' % e) | 168 sys.stderr.write('%s\n' % e) |
| 169 sys.exit(1) | 169 sys.exit(1) |
| OLD | NEW |