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

Side by Side Diff: tools/test-runtime.dart

Issue 9414014: vmbot: fix vm bot config (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 years, 10 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 | « tools/test-compiler.dart ('k') | tools/testing/dart/test_options.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 // TODO(ager): Get rid of this version of test.dart when we don't have 6 // TODO(ager): Get rid of this version of test.dart when we don't have
7 // to worry about the special runtime checkout anymore. 7 // to worry about the special runtime checkout anymore.
8 // This file is identical to test.dart with test suites in the 8 // This file is identical to test.dart with test suites in the
9 // directories samples, client, compiler, frog, and utils removed. 9 // directories samples, client, compiler, frog, and utils removed.
10 10
11 #library("test"); 11 #library("test");
12 12
13 #import("testing/dart/test_runner.dart"); 13 #import("testing/dart/test_runner.dart");
14 #import("testing/dart/test_options.dart"); 14 #import("testing/dart/test_options.dart");
15 15
16 #import("../tests/co19/test_config.dart"); 16 #import("../tests/co19/test_config.dart");
17 #import("../tests/corelib/test_config.dart"); 17 #import("../tests/corelib/test_config.dart");
18 #import("../tests/isolate/test_config.dart"); 18 #import("../tests/isolate/test_config.dart");
19 #import("../tests/language/test_config.dart"); 19 #import("../tests/language/test_config.dart");
20 #import("../tests/standalone/test_config.dart"); 20 #import("../tests/standalone/test_config.dart");
21 #import("../tests/stub-generator/test_config.dart");
22 #import("../tests/utils/test_config.dart"); 21 #import("../tests/utils/test_config.dart");
23 #import("../runtime/tests/vm/test_config.dart"); 22 #import("../runtime/tests/vm/test_config.dart");
24 23
25 main() { 24 main() {
26 var startTime = new Date.now(); 25 var startTime = new Date.now();
27 var optionsParser = new TestOptionsParser(); 26 var optionsParser = new TestOptionsParser();
28 List<Map> configurations = optionsParser.parse(new Options().arguments); 27 List<Map> configurations = optionsParser.parse(new Options().arguments);
29 if (configurations == null) return; 28 if (configurations == null) return;
30 29
31 // Extract global options from first configuration. 30 // Extract global options from first configuration.
(...skipping 21 matching lines...) Expand all
53 } 52 }
54 if (selectors.containsKey('co19')) { 53 if (selectors.containsKey('co19')) {
55 queue.addTestSuite(new Co19TestSuite(conf)); 54 queue.addTestSuite(new Co19TestSuite(conf));
56 } 55 }
57 if (selectors.containsKey('language')) { 56 if (selectors.containsKey('language')) {
58 queue.addTestSuite(new LanguageTestSuite(conf)); 57 queue.addTestSuite(new LanguageTestSuite(conf));
59 } 58 }
60 if (selectors.containsKey('isolate')) { 59 if (selectors.containsKey('isolate')) {
61 queue.addTestSuite(new IsolateTestSuite(conf)); 60 queue.addTestSuite(new IsolateTestSuite(conf));
62 } 61 }
63 if (selectors.containsKey('stub-generator')) {
64 queue.addTestSuite(new StubGeneratorTestSuite(conf));
65 }
66 if (selectors.containsKey('utils')) { 62 if (selectors.containsKey('utils')) {
67 queue.addTestSuite(new UtilsTestSuite(conf)); 63 queue.addTestSuite(new UtilsTestSuite(conf));
68 } 64 }
69 if (conf['component'] == 'vm' && selectors.containsKey('vm')) { 65 if (conf['component'] == 'vm' && selectors.containsKey('vm')) {
70 queue.addTestSuite(new VMTestSuite(conf)); 66 queue.addTestSuite(new VMTestSuite(conf));
71 } 67 }
72 68
73 return true; 69 return true;
74 } 70 }
75 71
76 // Start process queue. 72 // Start process queue.
77 var queue = new ProcessQueue(maxProcesses, 73 var queue = new ProcessQueue(maxProcesses,
78 progressIndicator, 74 progressIndicator,
79 startTime, 75 startTime,
80 printTiming, 76 printTiming,
81 enqueueConfiguration, 77 enqueueConfiguration,
82 verbose, 78 verbose,
83 listTests, 79 listTests,
84 keepGeneratedTests); 80 keepGeneratedTests);
85 } 81 }
OLDNEW
« no previous file with comments | « tools/test-compiler.dart ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698