| OLD | NEW |
| 1 #!/usr/bin/env dart_bin | 1 #!/usr/bin/env dart_bin |
| 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 | 18 |
| 18 // TODO(ager): This activity tracking is temporary until stdout is | 19 // TODO(ager): This activity tracking is temporary until stdout is |
| 19 // closed implicitly when nothing more can happen. | 20 // closed implicitly when nothing more can happen. |
| 20 int pendingActivities = 0; | 21 int pendingActivities = 0; |
| 21 | 22 |
| 22 void activityStarted() { | 23 void activityStarted() { |
| 23 ++pendingActivities; | 24 ++pendingActivities; |
| 24 } | 25 } |
| 25 | 26 |
| 26 void activityCompleted() { | 27 void activityCompleted() { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 46 activityStarted(); | 47 activityStarted(); |
| 47 new CorelibTestSuite(conf).forEachTest(queue.runTest, activityCompleted); | 48 new CorelibTestSuite(conf).forEachTest(queue.runTest, activityCompleted); |
| 48 activityStarted(); | 49 activityStarted(); |
| 49 new Co19TestSuite(conf).forEachTest(queue.runTest, activityCompleted); | 50 new Co19TestSuite(conf).forEachTest(queue.runTest, activityCompleted); |
| 50 activityStarted(); | 51 activityStarted(); |
| 51 new LanguageTestSuite(conf).forEachTest(queue.runTest, activityCompleted); | 52 new LanguageTestSuite(conf).forEachTest(queue.runTest, activityCompleted); |
| 52 activityStarted(); | 53 activityStarted(); |
| 53 new IsolateTestSuite(conf).forEachTest(queue.runTest, activityCompleted); | 54 new IsolateTestSuite(conf).forEachTest(queue.runTest, activityCompleted); |
| 54 activityStarted(); | 55 activityStarted(); |
| 55 new StubGeneratorTestSuite(conf).forEachTest(queue.runTest, activityComplete
d); | 56 new StubGeneratorTestSuite(conf).forEachTest(queue.runTest, activityComplete
d); |
| 57 if (conf["component"] == "vm") { |
| 58 activityStarted(); |
| 59 new VMTestSuite(conf).forEachTest(queue.runTest, activityCompleted); |
| 60 } |
| 56 } | 61 } |
| 57 } | 62 } |
| OLD | NEW |