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

Side by Side Diff: tools/test.dart

Issue 9015005: Add dartc junit tests to test.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix stray delete. Created 8 years, 11 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 | « compiler/tests/dartc/test_config.dart ('k') | tools/testing/dart/test_runner.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) 2011, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2011, 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 #library("test"); 6 #library("test");
7 7
8 #import("testing/dart/test_runner.dart"); 8 #import("testing/dart/test_runner.dart");
9 #import("testing/dart/test_options.dart"); 9 #import("testing/dart/test_options.dart");
10 10
11 #import("../tests/co19/test_config.dart"); 11 #import("../tests/co19/test_config.dart");
12 #import("../tests/corelib/test_config.dart"); 12 #import("../tests/corelib/test_config.dart");
13 #import("../tests/isolate/test_config.dart"); 13 #import("../tests/isolate/test_config.dart");
14 #import("../tests/language/test_config.dart"); 14 #import("../tests/language/test_config.dart");
15 #import("../tests/standalone/test_config.dart"); 15 #import("../tests/standalone/test_config.dart");
16 #import("../tests/stub-generator/test_config.dart"); 16 #import("../tests/stub-generator/test_config.dart");
17 #import("../runtime/tests/vm/test_config.dart"); 17 #import("../runtime/tests/vm/test_config.dart");
18 #import("../samples/tests/samples/test_config.dart"); 18 #import("../samples/tests/samples/test_config.dart");
19 #import("../client/tests/dartc/test_config.dart"); 19 #import("../client/tests/dartc/test_config.dart");
20 #import("../compiler/tests/dartc/test_config.dart");
20 #import("../frog/tests/frog/test_config.dart"); 21 #import("../frog/tests/frog/test_config.dart");
21 #import("../frog/tests/leg/test_config.dart"); 22 #import("../frog/tests/leg/test_config.dart");
22 #import("../frog/tests/leg_only/test_config.dart"); 23 #import("../frog/tests/leg_only/test_config.dart");
23 #import("../frog/tests/await/test_config.dart"); 24 #import("../frog/tests/await/test_config.dart");
24 #import("../utils/tests/css/test_config.dart"); 25 #import("../utils/tests/css/test_config.dart");
25 #import("../utils/tests/peg/test_config.dart"); 26 #import("../utils/tests/peg/test_config.dart");
26 27
27 main() { 28 main() {
28 var startTime = new Date.now(); 29 var startTime = new Date.now();
29 var optionsParser = new TestOptionsParser(); 30 var optionsParser = new TestOptionsParser();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 } 75 }
75 if (selectors.containsKey('leg')) { 76 if (selectors.containsKey('leg')) {
76 queue.addTestSuite(new LegTestSuite(conf)); 77 queue.addTestSuite(new LegTestSuite(conf));
77 } 78 }
78 if (selectors.containsKey('leg_only')) { 79 if (selectors.containsKey('leg_only')) {
79 queue.addTestSuite(new LegOnlyTestSuite(conf)); 80 queue.addTestSuite(new LegOnlyTestSuite(conf));
80 } 81 }
81 if (conf['component'] == 'dartc' && selectors.containsKey('dartc')) { 82 if (conf['component'] == 'dartc' && selectors.containsKey('dartc')) {
82 queue.addTestSuite(new ClientDartcTestSuite(conf)); 83 queue.addTestSuite(new ClientDartcTestSuite(conf));
83 } 84 }
85 if (conf['component'] == 'dartc' && selectors.containsKey('dartc')) {
86 queue.addTestSuite(new JUnitDartcTestSuite(conf));
87 }
84 if (selectors.containsKey('css')) { 88 if (selectors.containsKey('css')) {
85 queue.addTestSuite(new CssTestSuite(conf)); 89 queue.addTestSuite(new CssTestSuite(conf));
86 } 90 }
87 if (selectors.containsKey('peg')) { 91 if (selectors.containsKey('peg')) {
88 queue.addTestSuite(new PegTestSuite(conf)); 92 queue.addTestSuite(new PegTestSuite(conf));
89 } 93 }
90 if (selectors.containsKey('await')) { 94 if (selectors.containsKey('await')) {
91 queue.addTestSuite(new AwaitTestSuite(conf)); 95 queue.addTestSuite(new AwaitTestSuite(conf));
92 } 96 }
93 97
94 return true; 98 return true;
95 } 99 }
96 100
97 // Start process queue. 101 // Start process queue.
98 var queue = new ProcessQueue(maxProcesses, 102 var queue = new ProcessQueue(maxProcesses,
99 progressIndicator, 103 progressIndicator,
100 verbose, 104 verbose,
101 startTime, 105 startTime,
102 printTiming, 106 printTiming,
103 enqueueConfiguration); 107 enqueueConfiguration);
104 } 108 }
OLDNEW
« no previous file with comments | « compiler/tests/dartc/test_config.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698