| 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 |
| 11 #import("../tests/co19/test_config.dart"); | 11 #import("../tests/co19/test_config.dart"); |
| 12 #import("../tests/corelib/test_config.dart"); | 12 #import("../tests/corelib/test_config.dart"); |
| 13 #import("../tests/isolate/test_config.dart"); | 13 #import("../tests/isolate/test_config.dart"); |
| 14 #import("../tests/language/test_config.dart"); | 14 #import("../tests/language/test_config.dart"); |
| 15 #import("../tests/standalone/test_config.dart"); | 15 #import("../tests/standalone/test_config.dart"); |
| 16 #import("../tests/stub-generator/test_config.dart"); | 16 #import("../tests/stub-generator/test_config.dart"); |
| 17 #import("../runtime/tests/vm/test_config.dart"); | 17 #import("../runtime/tests/vm/test_config.dart"); |
| 18 #import("../samples/tests/samples/test_config.dart"); | 18 #import("../samples/tests/samples/test_config.dart"); |
| 19 #import("../client/tests/dartc/test_config.dart"); | 19 #import("../client/tests/dartc/test_config.dart"); |
| 20 #import("../compiler/tests/dartc/test_config.dart"); | 20 #import("../compiler/tests/dartc/test_config.dart"); |
| 21 #import("../client/tests/client/test_config.dart"); |
| 21 #import("../frog/tests/frog/test_config.dart"); | 22 #import("../frog/tests/frog/test_config.dart"); |
| 22 #import("../frog/tests/leg/test_config.dart"); | 23 #import("../frog/tests/leg/test_config.dart"); |
| 23 #import("../frog/tests/leg_only/test_config.dart"); | 24 #import("../frog/tests/leg_only/test_config.dart"); |
| 24 #import("../frog/tests/await/test_config.dart"); | 25 #import("../frog/tests/await/test_config.dart"); |
| 25 #import("../utils/tests/css/test_config.dart"); | 26 #import("../utils/tests/css/test_config.dart"); |
| 26 #import("../utils/tests/peg/test_config.dart"); | 27 #import("../utils/tests/peg/test_config.dart"); |
| 27 | 28 |
| 28 main() { | 29 main() { |
| 29 var startTime = new Date.now(); | 30 var startTime = new Date.now(); |
| 30 var optionsParser = new TestOptionsParser(); | 31 var optionsParser = new TestOptionsParser(); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 } | 89 } |
| 89 if (selectors.containsKey('css')) { | 90 if (selectors.containsKey('css')) { |
| 90 queue.addTestSuite(new CssTestSuite(conf)); | 91 queue.addTestSuite(new CssTestSuite(conf)); |
| 91 } | 92 } |
| 92 if (selectors.containsKey('peg')) { | 93 if (selectors.containsKey('peg')) { |
| 93 queue.addTestSuite(new PegTestSuite(conf)); | 94 queue.addTestSuite(new PegTestSuite(conf)); |
| 94 } | 95 } |
| 95 if (selectors.containsKey('await')) { | 96 if (selectors.containsKey('await')) { |
| 96 queue.addTestSuite(new AwaitTestSuite(conf)); | 97 queue.addTestSuite(new AwaitTestSuite(conf)); |
| 97 } | 98 } |
| 99 if (selectors.containsKey('client')) { |
| 100 queue.addTestSuite(new ClientTestSuite(conf)); |
| 101 } |
| 98 | 102 |
| 99 return true; | 103 return true; |
| 100 } | 104 } |
| 101 | 105 |
| 102 // Start process queue. | 106 // Start process queue. |
| 103 var queue = new ProcessQueue(maxProcesses, | 107 var queue = new ProcessQueue(maxProcesses, |
| 104 progressIndicator, | 108 progressIndicator, |
| 105 startTime, | 109 startTime, |
| 106 printTiming, | 110 printTiming, |
| 107 enqueueConfiguration, | 111 enqueueConfiguration, |
| 108 verbose: verbose, | 112 verbose: verbose, |
| 109 listTests: listTests); | 113 listTests: listTests); |
| 110 } | 114 } |
| OLD | NEW |