| 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 // TODO(ager): Get rid of this version of test.dart when we don't have | 6 // TODO(ager): Get rid of this version of test.dart when we don't have |
| 7 // to worry about the special runtime checkout anymore. | 7 // to worry about the special runtime checkout anymore. |
| 8 // This file is identical to test.dart with test suites in the | 8 // This file is identical to test.dart with test suites in the |
| 9 // directories samples, client, compiler, frog, and utils removed. | 9 // directories samples, client, compiler, frog, and utils removed. |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 } | 69 } |
| 70 if (selectors.containsKey('language')) { | 70 if (selectors.containsKey('language')) { |
| 71 queue.addTestSuite(new LanguageTestSuite(conf)); | 71 queue.addTestSuite(new LanguageTestSuite(conf)); |
| 72 } | 72 } |
| 73 if (selectors.containsKey('isolate')) { | 73 if (selectors.containsKey('isolate')) { |
| 74 queue.addTestSuite(new IsolateTestSuite(conf)); | 74 queue.addTestSuite(new IsolateTestSuite(conf)); |
| 75 } | 75 } |
| 76 if (selectors.containsKey('utils')) { | 76 if (selectors.containsKey('utils')) { |
| 77 queue.addTestSuite(new UtilsTestSuite(conf)); | 77 queue.addTestSuite(new UtilsTestSuite(conf)); |
| 78 } | 78 } |
| 79 if (conf['component'] == 'vm' && selectors.containsKey('vm')) { | 79 if (conf['runtime'] == 'vm' && selectors.containsKey('vm')) { |
| 80 queue.addTestSuite(new VMTestSuite(conf)); | 80 queue.addTestSuite(new VMTestSuite(conf)); |
| 81 queue.addTestSuite(new VMDartTestSuite(conf)); | 81 queue.addTestSuite(new VMDartTestSuite(conf)); |
| 82 } | 82 } |
| 83 | 83 |
| 84 return true; | 84 return true; |
| 85 } | 85 } |
| 86 | 86 |
| 87 // Start process queue. | 87 // Start process queue. |
| 88 var queue = new ProcessQueue(maxProcesses, | 88 var queue = new ProcessQueue(maxProcesses, |
| 89 progressIndicator, | 89 progressIndicator, |
| 90 startTime, | 90 startTime, |
| 91 printTiming, | 91 printTiming, |
| 92 enqueueConfiguration, | 92 enqueueConfiguration, |
| 93 verbose, | 93 verbose, |
| 94 listTests, | 94 listTests, |
| 95 keepGeneratedTests); | 95 keepGeneratedTests); |
| 96 } | 96 } |
| OLD | NEW |