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

Side by Side Diff: tools/test.dart

Issue 23301004: Remove all remaining references to dartc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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/language/language_dart2js.status ('k') | no next file » | 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) 2013, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2013, 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
11 * 2. the dart2js compiler 11 * 2. the dart2js compiler
12 * 3. the dartc static analyzer 12 * 3. the static analyzer
13 * 4. the dart core library 13 * 4. the dart core library
14 * 5. other standard dart libraries (DOM bindings, ui libraries, 14 * 5. other standard dart libraries (DOM bindings, ui libraries,
15 * io libraries etc.) 15 * io libraries etc.)
16 * 16 *
17 * This script is normally invoked by test.py. (test.py finds the dart vm 17 * This script is normally invoked by test.py. (test.py finds the dart vm
18 * and passses along all command line arguments to this script.) 18 * and passses along all command line arguments to this script.)
19 * 19 *
20 * The command line args of this script are documented in 20 * The command line args of this script are documented in
21 * "tools/testing/test_options.dart". 21 * "tools/testing/test_options.dart".
22 * 22 *
23 */ 23 */
24 24
25 library test; 25 library test;
26 26
27 import "dart:async"; 27 import "dart:async";
28 import "dart:io"; 28 import "dart:io";
29 import "dart:math" as math; 29 import "dart:math" as math;
30 import "testing/dart/browser_controller.dart"; 30 import "testing/dart/browser_controller.dart";
31 import "testing/dart/http_server.dart"; 31 import "testing/dart/http_server.dart";
32 import "testing/dart/record_and_replay.dart"; 32 import "testing/dart/record_and_replay.dart";
33 import "testing/dart/test_options.dart"; 33 import "testing/dart/test_options.dart";
34 import "testing/dart/test_progress.dart"; 34 import "testing/dart/test_progress.dart";
35 import "testing/dart/test_runner.dart"; 35 import "testing/dart/test_runner.dart";
36 import "testing/dart/test_suite.dart"; 36 import "testing/dart/test_suite.dart";
37 import "testing/dart/utils.dart"; 37 import "testing/dart/utils.dart";
38 38
39 import "../runtime/tests/vm/test_config.dart"; 39 import "../runtime/tests/vm/test_config.dart";
40 import "../samples/tests/dartc/test_config.dart";
41 import "../tests/co19/test_config.dart"; 40 import "../tests/co19/test_config.dart";
42 import "../tests/lib/analyzer/test_config.dart"; 41 import "../tests/lib/analyzer/test_config.dart";
43 42
44 /** 43 /**
45 * The directories that contain test suites which follow the conventions 44 * The directories that contain test suites which follow the conventions
46 * required by [StandardTestSuite]'s forDirectory constructor. 45 * required by [StandardTestSuite]'s forDirectory constructor.
47 * New test suites should follow this convention because it makes it much 46 * New test suites should follow this convention because it makes it much
48 * simpler to add them to test.dart. Existing test suites should be 47 * simpler to add them to test.dart. Existing test suites should be
49 * moved to here, if possible. 48 * moved to here, if possible.
50 */ 49 */
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 void main() { 299 void main() {
301 deleteTemporaryDartDirectories().then((_) { 300 deleteTemporaryDartDirectories().then((_) {
302 var optionsParser = new TestOptionsParser(); 301 var optionsParser = new TestOptionsParser();
303 var configurations = optionsParser.parse(new Options().arguments); 302 var configurations = optionsParser.parse(new Options().arguments);
304 if (configurations != null && configurations.length > 0) { 303 if (configurations != null && configurations.length > 0) {
305 testConfigurations(configurations); 304 testConfigurations(configurations);
306 } 305 }
307 }); 306 });
308 } 307 }
309 308
OLDNEW
« no previous file with comments | « tests/language/language_dart2js.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698