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

Side by Side Diff: test-runtime.dart

Issue 8773006: Fork test scripts to support special runtime checkout. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/tools/
Patch Set: Created 9 years 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 | testing/dart/multitest.dart » ('j') | testing/dart/multitest.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env dart
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
4 // BSD-style license that can be found in the LICENSE file.
5
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.
8
9 #library("test");
10
11 #import("testing/dart/test_runner.dart");
12 #import("testing/dart/test_options.dart");
13
14 #import("../tests/co19/test_config.dart");
15 #import("../tests/corelib/test_config.dart");
16 #import("../tests/isolate/test_config.dart");
17 #import("../tests/language/test_config.dart");
18 #import("../tests/standalone/test_config.dart");
19 #import("../tests/stub-generator/test_config.dart");
20 #import("../runtime/tests/vm/test_config.dart");
21
22 main() {
23 var startTime = new Date.now();
24 var optionsParser = new TestOptionsParser();
25 var configurations = optionsParser.parse(new Options().arguments);
26 if (configurations == null) return;
27 // Extract global options from first configuration.
28 var firstConf = configurations[0];
29 var queue = new ProcessQueue(firstConf['tasks'],
30 firstConf['progress'],
31 startTime);
32 for (var conf in configurations) {
33 queue.addTestSuite(new StandaloneTestSuite(conf));
34 queue.addTestSuite(new CorelibTestSuite(conf));
35 queue.addTestSuite(new Co19TestSuite(conf));
36 queue.addTestSuite(new LanguageTestSuite(conf));
37 queue.addTestSuite(new IsolateTestSuite(conf));
38 queue.addTestSuite(new StubGeneratorTestSuite(conf));
39 if (conf["component"] == "vm") {
40 queue.addTestSuite(new VMTestSuite(conf));
41 }
42 }
43 }
OLDNEW
« no previous file with comments | « no previous file | testing/dart/multitest.dart » ('j') | testing/dart/multitest.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698