Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Side by Side Diff: tools/test.dart

Issue 8590025: Support stub-generator tests on the VM (which does not actually generate the stubs). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Enable by default. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/stub-generator/test_config.dart ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 17
17 // TODO(ager): This activity tracking is temporary until stdout is 18 // TODO(ager): This activity tracking is temporary until stdout is
18 // closed implicitly when nothing more can happen. 19 // closed implicitly when nothing more can happen.
19 int pendingActivities = 0; 20 int pendingActivities = 0;
20 21
21 void activityStarted() { 22 void activityStarted() {
22 ++pendingActivities; 23 ++pendingActivities;
23 } 24 }
24 25
25 void activityCompleted() { 26 void activityCompleted() {
(...skipping 17 matching lines...) Expand all
43 activityStarted(); 44 activityStarted();
44 new StandaloneTestSuite(conf).forEachTest(queue.runTest, activityCompleted); 45 new StandaloneTestSuite(conf).forEachTest(queue.runTest, activityCompleted);
45 activityStarted(); 46 activityStarted();
46 new CorelibTestSuite(conf).forEachTest(queue.runTest, activityCompleted); 47 new CorelibTestSuite(conf).forEachTest(queue.runTest, activityCompleted);
47 activityStarted(); 48 activityStarted();
48 new Co19TestSuite(conf).forEachTest(queue.runTest, activityCompleted); 49 new Co19TestSuite(conf).forEachTest(queue.runTest, activityCompleted);
49 activityStarted(); 50 activityStarted();
50 new LanguageTestSuite(conf).forEachTest(queue.runTest, activityCompleted); 51 new LanguageTestSuite(conf).forEachTest(queue.runTest, activityCompleted);
51 activityStarted(); 52 activityStarted();
52 new IsolateTestSuite(conf).forEachTest(queue.runTest, activityCompleted); 53 new IsolateTestSuite(conf).forEachTest(queue.runTest, activityCompleted);
54 activityStarted();
55 new StubGeneratorTestSuite(conf).forEachTest(queue.runTest, activityComplete d);
53 } 56 }
54 } 57 }
OLDNEW
« no previous file with comments | « tests/stub-generator/test_config.dart ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698