OLD | NEW |
1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
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 /** | 6 /** |
7 * This file is the entrypoint of the dart test suite. This suite is used | 7 * This file is the entrypoint of the dart test suite. This suite is used |
8 * to test: | 8 * to test: |
9 * | 9 * |
10 * 1. the dart vm | 10 * 1. the dart vm |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 } | 99 } |
100 if (selectors.containsKey('language')) { | 100 if (selectors.containsKey('language')) { |
101 queue.addTestSuite(new LanguageTestSuite(conf)); | 101 queue.addTestSuite(new LanguageTestSuite(conf)); |
102 } | 102 } |
103 if (selectors.containsKey('isolate')) { | 103 if (selectors.containsKey('isolate')) { |
104 queue.addTestSuite(new IsolateTestSuite(conf)); | 104 queue.addTestSuite(new IsolateTestSuite(conf)); |
105 } | 105 } |
106 if (selectors.containsKey('utils')) { | 106 if (selectors.containsKey('utils')) { |
107 queue.addTestSuite(new UtilsTestSuite(conf)); | 107 queue.addTestSuite(new UtilsTestSuite(conf)); |
108 } | 108 } |
109 if (conf['component'] == 'vm' && selectors.containsKey('vm')) { | 109 if (conf['runtime'] == 'vm' && selectors.containsKey('vm')) { |
110 queue.addTestSuite(new VMTestSuite(conf)); | 110 queue.addTestSuite(new VMTestSuite(conf)); |
111 queue.addTestSuite(new VMDartTestSuite(conf)); | 111 queue.addTestSuite(new VMDartTestSuite(conf)); |
112 } | 112 } |
113 if (selectors.containsKey('frog')) { | 113 if (selectors.containsKey('frog')) { |
114 queue.addTestSuite(new FrogTestSuite(conf)); | 114 queue.addTestSuite(new FrogTestSuite(conf)); |
115 } | 115 } |
116 if (selectors.containsKey('leg')) { | 116 if (selectors.containsKey('leg')) { |
117 queue.addTestSuite(new LegTestSuite(conf)); | 117 queue.addTestSuite(new LegTestSuite(conf)); |
118 } | 118 } |
119 if (selectors.containsKey('leg_only')) { | 119 if (selectors.containsKey('leg_only')) { |
(...skipping 30 matching lines...) Expand all Loading... |
150 // Start process queue. | 150 // Start process queue. |
151 var queue = new ProcessQueue(maxProcesses, | 151 var queue = new ProcessQueue(maxProcesses, |
152 progressIndicator, | 152 progressIndicator, |
153 startTime, | 153 startTime, |
154 printTiming, | 154 printTiming, |
155 enqueueConfiguration, | 155 enqueueConfiguration, |
156 verbose, | 156 verbose, |
157 listTests, | 157 listTests, |
158 keepGeneratedTests); | 158 keepGeneratedTests); |
159 } | 159 } |
OLD | NEW |