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

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: 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 checkin suite. This checkin
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 I never heard the term 'checkin suite' before, I'm
mattsh 2012/03/05 17:49:09 Done.
8 * suite is used to test:
9 *
10 * 1. the dart vm
11 * 2. the frog compiler (compiles dart to js)
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 maybe mention that we ensure the gen code runs cor
mattsh 2012/03/05 17:49:09 I just wanted this list here to be a very quick su
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.)
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 weird indent here. Maybe align with 'other'? 6. ot
mattsh 2012/03/05 17:49:09 Just the normal 4 space line continuation indent.
Siggi Cherem (dart-lang) 2012/03/05 17:54:25 I was expecting expecting +4 from the bullet, not
mattsh 2012/03/05 18:00:17 OK, but +4 from the bullet will put it just one sp
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 * Most of the command line arguments to this script are straightforward and
22 * are documented in [tools/testing/test_options.dart]
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 I believe the notation [something] is only to poin
mattsh 2012/03/05 17:49:09 OK, changed to quotes now.
23 *
24 * The "component" argument is complicated and is documented here.
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 I'd change this a bit - maybe reorder by saying:
mattsh 2012/03/05 17:49:09 OK, reworded and shortened this text.
25 *
26 * Allowable values of "component"
27 *
28 * vm: run dart code on the standalone dart vm
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 (nit): make this also bulleted, fix indentation al
mattsh 2012/03/05 17:49:09 slightly prefer to keep as is
Siggi Cherem (dart-lang) 2012/03/05 17:54:25 please consider adding the bullet, I believe if we
mattsh 2012/03/05 18:00:17 Ah, good point. I didn't know dartdoc picks up th
29 * frog: compile dart code by running frog on the standalone dart vm, and
30 * run the resulting javascript on D8
31 * leg: compile dart code by running leg on the standalone dart vm, and
32 * run the resulting javascript on D8.
33 * frogsh: compile dart code by running frog on node.js, and run the
34 * resulting javascript on the same instance of node.js
35 * dartium: run dart code in dartium
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 actually we run it in a dartium-DumpRenderTree (a
mattsh 2012/03/05 17:49:09 OK, thanks (siggi and I just chatted). Updated co
36 * chromium: obsolete, not used (TODO - remove this)
37 * frogium: compile dart code by running frog on the standalone dart vm,
38 * and run the resulting javascript in DumpRenderTree
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 DumpRenderTree (a headless version of chromium)
mattsh 2012/03/05 17:49:09 Done.
39 * legium: compile dart code by running leg on the standalone dart vm,
40 * and run the resulting javascript in DumpRenderTree
41 * webdriver: compile dart code by running frog on the standalone dart vm,
42 * and then run the resulting javascript in a browser that
43 * is specified by the --browser switch
44 * dartc: run dart code through the dartc static analyzer (does not execute
45 * dart code
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 add closing paren
mattsh 2012/03/05 17:49:09 Done.
46 *
47 *
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 remove extra lines
mattsh 2012/03/05 17:49:09 Done.
48 */
49
50
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 here too
mattsh 2012/03/05 17:49:09 Done.
6 #library("test"); 51 #library("test");
7 52
8 #import("testing/dart/test_runner.dart"); 53 #import("testing/dart/test_runner.dart");
9 #import("testing/dart/test_options.dart"); 54 #import("testing/dart/test_options.dart");
10 55
11 #import("../tests/co19/test_config.dart"); 56 #import("../tests/co19/test_config.dart");
12 #import("../tests/corelib/test_config.dart"); 57 #import("../tests/corelib/test_config.dart");
13 #import("../tests/isolate/test_config.dart"); 58 #import("../tests/isolate/test_config.dart");
14 #import("../tests/language/test_config.dart"); 59 #import("../tests/language/test_config.dart");
15 #import("../tests/standalone/test_config.dart"); 60 #import("../tests/standalone/test_config.dart");
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Start process queue. 160 // Start process queue.
116 var queue = new ProcessQueue(maxProcesses, 161 var queue = new ProcessQueue(maxProcesses,
117 progressIndicator, 162 progressIndicator,
118 startTime, 163 startTime,
119 printTiming, 164 printTiming,
120 enqueueConfiguration, 165 enqueueConfiguration,
121 verbose, 166 verbose,
122 listTests, 167 listTests,
123 keepGeneratedTests); 168 keepGeneratedTests);
124 } 169 }
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