| OLD | NEW |
| 1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
| 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 #library("test"); | 6 #library("test"); |
| 7 | 7 |
| 8 #import("testing/dart/test_runner.dart"); | 8 #import("testing/dart/test_runner.dart"); |
| 9 #import("testing/dart/test_options.dart"); | 9 #import("testing/dart/test_options.dart"); |
| 10 | 10 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } | 71 } |
| 72 if (selectors.containsKey('frog')) { | 72 if (selectors.containsKey('frog')) { |
| 73 queue.addTestSuite(new FrogTestSuite(conf)); | 73 queue.addTestSuite(new FrogTestSuite(conf)); |
| 74 } | 74 } |
| 75 if (selectors.containsKey('leg')) { | 75 if (selectors.containsKey('leg')) { |
| 76 queue.addTestSuite(new LegTestSuite(conf)); | 76 queue.addTestSuite(new LegTestSuite(conf)); |
| 77 } | 77 } |
| 78 if (selectors.containsKey('leg_only')) { | 78 if (selectors.containsKey('leg_only')) { |
| 79 queue.addTestSuite(new LegOnlyTestSuite(conf)); | 79 queue.addTestSuite(new LegOnlyTestSuite(conf)); |
| 80 } | 80 } |
| 81 if (selectors.containsKey('dartc')) { | 81 if (conf['component'] == 'dartc' && selectors.containsKey('dartc')) { |
| 82 queue.addTestSuite(new ClientDartcTestSuite(conf)); | 82 queue.addTestSuite(new ClientDartcTestSuite(conf)); |
| 83 } | 83 } |
| 84 if (selectors.containsKey('css')) { | 84 if (selectors.containsKey('css')) { |
| 85 queue.addTestSuite(new CssTestSuite(conf)); | 85 queue.addTestSuite(new CssTestSuite(conf)); |
| 86 } | 86 } |
| 87 if (selectors.containsKey('peg')) { | 87 if (selectors.containsKey('peg')) { |
| 88 queue.addTestSuite(new PegTestSuite(conf)); | 88 queue.addTestSuite(new PegTestSuite(conf)); |
| 89 } | 89 } |
| 90 if (selectors.containsKey('await')) { | 90 if (selectors.containsKey('await')) { |
| 91 queue.addTestSuite(new AwaitTestSuite(conf)); | 91 queue.addTestSuite(new AwaitTestSuite(conf)); |
| 92 } | 92 } |
| 93 | 93 |
| 94 return true; | 94 return true; |
| 95 } | 95 } |
| 96 | 96 |
| 97 // Start process queue. | 97 // Start process queue. |
| 98 var queue = new ProcessQueue(maxProcesses, | 98 var queue = new ProcessQueue(maxProcesses, |
| 99 progressIndicator, | 99 progressIndicator, |
| 100 verbose, | 100 verbose, |
| 101 startTime, | 101 startTime, |
| 102 printTiming, | 102 printTiming, |
| 103 enqueueConfiguration); | 103 enqueueConfiguration); |
| 104 } | 104 } |
| OLD | NEW |