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

Side by Side Diff: tools/test.dart

Issue 10153004: Add a basic YAML processor. Much of the language is still unimplemented. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More code review changes. Created 8 years, 8 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
« no previous file with comments | « tests/utils/utils.status ('k') | utils/yaml/composer.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 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #import("../utils/tests/import_mapper/test_config.dart"); 49 #import("../utils/tests/import_mapper/test_config.dart");
50 #import("../utils/tests/peg/test_config.dart"); 50 #import("../utils/tests/peg/test_config.dart");
51 51
52 /** 52 /**
53 * The directories that contain test suites which follow the conventions 53 * The directories that contain test suites which follow the conventions
54 * required by [DirectoryTestSuite]. Ideally, we'd move more suites to this 54 * required by [DirectoryTestSuite]. Ideally, we'd move more suites to this
55 * convention because it makes it much simpler to add them to test.dart. (You 55 * convention because it makes it much simpler to add them to test.dart. (You
56 * basically add the directory here and you're done.) 56 * basically add the directory here and you're done.)
57 */ 57 */
58 final TEST_SUITE_DIRECTORIES = const [ 58 final TEST_SUITE_DIRECTORIES = const [
59 'utils/tests/pub' 59 'utils/tests/pub',
Bob Nystrom 2012/04/25 18:46:08 ?
nweiz 2012/04/25 18:47:16 Relic from when the tests lived in tests/lib. Remo
60 ]; 60 ];
61 61
62 main() { 62 main() {
63 var startTime = new Date.now(); 63 var startTime = new Date.now();
64 var optionsParser = new TestOptionsParser(); 64 var optionsParser = new TestOptionsParser();
65 List<Map> configurations = optionsParser.parse(new Options().arguments); 65 List<Map> configurations = optionsParser.parse(new Options().arguments);
66 if (configurations == null || configurations.length == 0) return; 66 if (configurations == null || configurations.length == 0) return;
67 67
68 // Extract global options from first configuration. 68 // Extract global options from first configuration.
69 var firstConf = configurations[0]; 69 var firstConf = configurations[0];
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // Start process queue. 169 // Start process queue.
170 var queue = new ProcessQueue(maxProcesses, 170 var queue = new ProcessQueue(maxProcesses,
171 progressIndicator, 171 progressIndicator,
172 startTime, 172 startTime,
173 printTiming, 173 printTiming,
174 enqueueConfiguration, 174 enqueueConfiguration,
175 verbose, 175 verbose,
176 listTests, 176 listTests,
177 keepGeneratedTests); 177 keepGeneratedTests);
178 } 178 }
OLDNEW
« no previous file with comments | « tests/utils/utils.status ('k') | utils/yaml/composer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698