| 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 #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"); | |
| 17 #import("../tests/utils/test_config.dart"); | 16 #import("../tests/utils/test_config.dart"); |
| 18 #import("../runtime/tests/vm/test_config.dart"); | 17 #import("../runtime/tests/vm/test_config.dart"); |
| 19 #import("../samples/tests/samples/test_config.dart"); | 18 #import("../samples/tests/samples/test_config.dart"); |
| 20 #import("../client/tests/dartc/test_config.dart"); | 19 #import("../client/tests/dartc/test_config.dart"); |
| 21 #import("../compiler/tests/dartc/test_config.dart"); | 20 #import("../compiler/tests/dartc/test_config.dart"); |
| 22 #import("../client/tests/client/test_config.dart"); | 21 #import("../client/tests/client/test_config.dart"); |
| 23 #import("../frog/tests/frog/test_config.dart"); | 22 #import("../frog/tests/frog/test_config.dart"); |
| 24 #import("../frog/tests/leg/test_config.dart"); | 23 #import("../frog/tests/leg/test_config.dart"); |
| 25 #import("../frog/tests/leg_only/test_config.dart"); | 24 #import("../frog/tests/leg_only/test_config.dart"); |
| 26 #import("../frog/tests/await/test_config.dart"); | 25 #import("../frog/tests/await/test_config.dart"); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 } | 62 } |
| 64 if (selectors.containsKey('co19')) { | 63 if (selectors.containsKey('co19')) { |
| 65 queue.addTestSuite(new Co19TestSuite(conf)); | 64 queue.addTestSuite(new Co19TestSuite(conf)); |
| 66 } | 65 } |
| 67 if (selectors.containsKey('language')) { | 66 if (selectors.containsKey('language')) { |
| 68 queue.addTestSuite(new LanguageTestSuite(conf)); | 67 queue.addTestSuite(new LanguageTestSuite(conf)); |
| 69 } | 68 } |
| 70 if (selectors.containsKey('isolate')) { | 69 if (selectors.containsKey('isolate')) { |
| 71 queue.addTestSuite(new IsolateTestSuite(conf)); | 70 queue.addTestSuite(new IsolateTestSuite(conf)); |
| 72 } | 71 } |
| 73 if (selectors.containsKey('stub-generator')) { | |
| 74 queue.addTestSuite(new StubGeneratorTestSuite(conf)); | |
| 75 } | |
| 76 if (selectors.containsKey('utils')) { | 72 if (selectors.containsKey('utils')) { |
| 77 queue.addTestSuite(new UtilsTestSuite(conf)); | 73 queue.addTestSuite(new UtilsTestSuite(conf)); |
| 78 } | 74 } |
| 79 if (conf['component'] == 'vm' && selectors.containsKey('vm')) { | 75 if (conf['component'] == 'vm' && selectors.containsKey('vm')) { |
| 80 queue.addTestSuite(new VMTestSuite(conf)); | 76 queue.addTestSuite(new VMTestSuite(conf)); |
| 81 } | 77 } |
| 82 if (selectors.containsKey('frog')) { | 78 if (selectors.containsKey('frog')) { |
| 83 queue.addTestSuite(new FrogTestSuite(conf)); | 79 queue.addTestSuite(new FrogTestSuite(conf)); |
| 84 } | 80 } |
| 85 if (selectors.containsKey('leg')) { | 81 if (selectors.containsKey('leg')) { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 // Start process queue. | 115 // Start process queue. |
| 120 var queue = new ProcessQueue(maxProcesses, | 116 var queue = new ProcessQueue(maxProcesses, |
| 121 progressIndicator, | 117 progressIndicator, |
| 122 startTime, | 118 startTime, |
| 123 printTiming, | 119 printTiming, |
| 124 enqueueConfiguration, | 120 enqueueConfiguration, |
| 125 verbose, | 121 verbose, |
| 126 listTests, | 122 listTests, |
| 127 keepGeneratedTests); | 123 keepGeneratedTests); |
| 128 } | 124 } |
| OLD | NEW |