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

Side by Side Diff: tools/test.dart

Issue 9555013: Get dartdoc in the SDK and working correctly. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update copyright date. Created 8 years, 9 months 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
OLDNEW
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/utils/test_config.dart"); 16 #import("../tests/utils/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("../client/tests/client/test_config.dart");
22 #import("../frog/tests/frog/test_config.dart"); 22 #import("../frog/tests/frog/test_config.dart");
23 #import("../frog/tests/leg/test_config.dart"); 23 #import("../frog/tests/leg/test_config.dart");
24 #import("../frog/tests/leg_only/test_config.dart"); 24 #import("../frog/tests/leg_only/test_config.dart");
25 #import("../frog/tests/native/test_config.dart"); 25 #import("../frog/tests/native/test_config.dart");
26 #import("../frog/tests/await/test_config.dart"); 26 #import("../frog/tests/await/test_config.dart");
27 #import("../utils/tests/css/test_config.dart"); 27 #import("../utils/tests/css/test_config.dart");
28 #import("../utils/tests/dartdoc/test_config.dart");
29 #import("../utils/tests/import_mapper/test_config.dart"); 28 #import("../utils/tests/import_mapper/test_config.dart");
30 #import("../utils/tests/peg/test_config.dart"); 29 #import("../utils/tests/peg/test_config.dart");
31 30
32 main() { 31 main() {
33 var startTime = new Date.now(); 32 var startTime = new Date.now();
34 var optionsParser = new TestOptionsParser(); 33 var optionsParser = new TestOptionsParser();
35 List<Map> configurations = optionsParser.parse(new Options().arguments); 34 List<Map> configurations = optionsParser.parse(new Options().arguments);
36 if (configurations == null) return; 35 if (configurations == null) return;
37 36
38 // Extract global options from first configuration. 37 // Extract global options from first configuration.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 89 }
91 if (conf['component'] == 'dartc' && selectors.containsKey('dartc')) { 90 if (conf['component'] == 'dartc' && selectors.containsKey('dartc')) {
92 queue.addTestSuite(new ClientDartcTestSuite(conf)); 91 queue.addTestSuite(new ClientDartcTestSuite(conf));
93 } 92 }
94 if (conf['component'] == 'dartc' && selectors.containsKey('dartc')) { 93 if (conf['component'] == 'dartc' && selectors.containsKey('dartc')) {
95 queue.addTestSuite(new JUnitDartcTestSuite(conf)); 94 queue.addTestSuite(new JUnitDartcTestSuite(conf));
96 } 95 }
97 if (selectors.containsKey('css')) { 96 if (selectors.containsKey('css')) {
98 queue.addTestSuite(new CssTestSuite(conf)); 97 queue.addTestSuite(new CssTestSuite(conf));
99 } 98 }
100 if (selectors.containsKey('dartdoc')) {
101 queue.addTestSuite(new DartdocTestSuite(conf));
102 }
103 if (selectors.containsKey('import_mapper')) { 99 if (selectors.containsKey('import_mapper')) {
104 queue.addTestSuite(new ImportMapperTestSuite(conf)); 100 queue.addTestSuite(new ImportMapperTestSuite(conf));
105 } 101 }
106 if (selectors.containsKey('peg')) { 102 if (selectors.containsKey('peg')) {
107 queue.addTestSuite(new PegTestSuite(conf)); 103 queue.addTestSuite(new PegTestSuite(conf));
108 } 104 }
109 if (selectors.containsKey('await')) { 105 if (selectors.containsKey('await')) {
110 queue.addTestSuite(new AwaitTestSuite(conf)); 106 queue.addTestSuite(new AwaitTestSuite(conf));
111 } 107 }
112 if (selectors.containsKey('client')) { 108 if (selectors.containsKey('client')) {
113 queue.addTestSuite(new ClientTestSuite(conf)); 109 queue.addTestSuite(new ClientTestSuite(conf));
114 } 110 }
115 111
116 return true; 112 return true;
117 } 113 }
118 114
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 }
OLDNEW
« frog/presubmit.py ('K') | « tools/create_sdk.py ('k') | utils/apidoc/apidoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698