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

Side by Side Diff: tools/test.dart

Issue 12321154: Add Dartdoc testing to pub bots. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 /** 6 /**
7 * This file is the entrypoint of the dart test suite. This suite is used 7 * This file is the entrypoint of the dart test suite. This suite is used
8 * to test: 8 * to test:
9 * 9 *
10 * 1. the dart vm 10 * 1. the dart vm
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 new Path('tests/html'), 59 new Path('tests/html'),
60 new Path('tests/isolate'), 60 new Path('tests/isolate'),
61 new Path('tests/json'), 61 new Path('tests/json'),
62 new Path('tests/language'), 62 new Path('tests/language'),
63 new Path('tests/lib'), 63 new Path('tests/lib'),
64 new Path('tests/standalone'), 64 new Path('tests/standalone'),
65 new Path('tests/utils'), 65 new Path('tests/utils'),
66 new Path('utils/tests/css'), 66 new Path('utils/tests/css'),
67 new Path('utils/tests/peg'), 67 new Path('utils/tests/peg'),
68 new Path('utils/tests/pub'), 68 new Path('utils/tests/pub'),
69 new Path('sdk/lib/_internal/dartdoc'),
69 ]; 70 ];
70 71
71 main() { 72 main() {
72 var startTime = new Date.now(); 73 var startTime = new Date.now();
73 var optionsParser = new TestOptionsParser(); 74 var optionsParser = new TestOptionsParser();
74 List<Map> configurations = optionsParser.parse(new Options().arguments); 75 List<Map> configurations = optionsParser.parse(new Options().arguments);
75 if (configurations == null || configurations.length == 0) return; 76 if (configurations == null || configurations.length == 0) return;
76 77
77 // Extract global options from first configuration. 78 // Extract global options from first configuration.
78 var firstConf = configurations[0]; 79 var firstConf = configurations[0];
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 new ProcessQueue(maxProcesses, 169 new ProcessQueue(maxProcesses,
169 maxBrowserProcesses, 170 maxBrowserProcesses,
170 progressIndicator, 171 progressIndicator,
171 startTime, 172 startTime,
172 printTiming, 173 printTiming,
173 testSuites, 174 testSuites,
174 allTestsFinished, 175 allTestsFinished,
175 verbose, 176 verbose,
176 listTests); 177 listTests);
177 } 178 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698