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

Side by Side Diff: tools/test.dart

Issue 9599015: documented component (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review updates 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
« no previous file with comments | « no previous file | 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) 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 /**
7 * This file is the entrypoint of the dart test suite. This suite is used
8 * to test:
9 *
10 * 1. the dart vm
11 * 2. the frog compiler (compiles dart to js)
12 * 3. the leg compiler (also compiles dart to js)
13 * 4. the dartc static analyzer
14 * 5. the dart core library
15 * 6. other standard dart libraries (DOM bindings, ui libraries,
16 * io libraries etc.)
17 *
18 * This script is normally invoked by test.py. (test.py finds the dart vm
19 * and passses along all command line arguments to this script.)
20 *
21 * The command line args of this script are documented in
22 * "tools/testing/test_options.dart".
23 *
24 * The the "component" command line arg can be:
Siggi Cherem (dart-lang) 2012/03/05 17:54:25 delete 'the'
25 *
26 * vm: run dart code on the standalone dart vm
ahe 2012/03/05 18:00:46 Instead of a comment, how about moving it to TestO
mattsh 2012/03/05 18:07:36 I considered that, and it's a possibility, but the
27 * frog: compile dart code by running frog on the standalone dart vm, and
28 * run the resulting javascript on D8
29 * leg: compile dart code by running leg on the standalone dart vm, and
30 * run the resulting javascript on D8.
31 * frogsh: compile dart code by running frog on node.js, and run the
32 * resulting javascript on the same instance of node.js
33 * dartium: run dart code in a <script type="application/dart"> tag in a
34 * dartium build of DumpRenderTree
35 * chromium: obsolete, not used (TODO - remove this)
36 * frogium: compile dart code by running frog on the standalone dart vm,
37 * and run the resulting javascript in a javascript <script> tag in
38 * a dartium build of DumpRenderTree
39 * legium: compile dart code by running leg on the standalone dart vm,
40 * and run the resulting javascript in a javascript <script> tag in
41 * a dartium build of DumpRenderTree
42 * webdriver: compile dart code by running frog on the standalone dart vm,
43 * and then run the resulting javascript in a browser that
44 * is specified by the --browser switch
45 * dartc: run dart code through the dartc static analyzer (does not execute
46 * dart code)
47 */
48
6 #library("test"); 49 #library("test");
7 50
8 #import("testing/dart/test_runner.dart"); 51 #import("testing/dart/test_runner.dart");
9 #import("testing/dart/test_options.dart"); 52 #import("testing/dart/test_options.dart");
10 53
11 #import("../tests/co19/test_config.dart"); 54 #import("../tests/co19/test_config.dart");
12 #import("../tests/corelib/test_config.dart"); 55 #import("../tests/corelib/test_config.dart");
13 #import("../tests/isolate/test_config.dart"); 56 #import("../tests/isolate/test_config.dart");
14 #import("../tests/language/test_config.dart"); 57 #import("../tests/language/test_config.dart");
15 #import("../tests/standalone/test_config.dart"); 58 #import("../tests/standalone/test_config.dart");
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Start process queue. 158 // Start process queue.
116 var queue = new ProcessQueue(maxProcesses, 159 var queue = new ProcessQueue(maxProcesses,
117 progressIndicator, 160 progressIndicator,
118 startTime, 161 startTime,
119 printTiming, 162 printTiming,
120 enqueueConfiguration, 163 enqueueConfiguration,
121 verbose, 164 verbose,
122 listTests, 165 listTests,
123 keepGeneratedTests); 166 keepGeneratedTests);
124 } 167 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698