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

Unified 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, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | testing/dart/multitest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test-runtime.dart
===================================================================
--- test-runtime.dart (revision 0)
+++ test-runtime.dart (revision 0)
@@ -0,0 +1,43 @@
+#!/usr/bin/env dart
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// TODO(ager): Get rid of this version of test.dart when we don't have
+// to worry about the special runtime checkout anymore.
+
+#library("test");
+
+#import("testing/dart/test_runner.dart");
+#import("testing/dart/test_options.dart");
+
+#import("../tests/co19/test_config.dart");
+#import("../tests/corelib/test_config.dart");
+#import("../tests/isolate/test_config.dart");
+#import("../tests/language/test_config.dart");
+#import("../tests/standalone/test_config.dart");
+#import("../tests/stub-generator/test_config.dart");
+#import("../runtime/tests/vm/test_config.dart");
+
+main() {
+ var startTime = new Date.now();
+ var optionsParser = new TestOptionsParser();
+ var configurations = optionsParser.parse(new Options().arguments);
+ if (configurations == null) return;
+ // Extract global options from first configuration.
+ var firstConf = configurations[0];
+ var queue = new ProcessQueue(firstConf['tasks'],
+ firstConf['progress'],
+ startTime);
+ for (var conf in configurations) {
+ queue.addTestSuite(new StandaloneTestSuite(conf));
+ queue.addTestSuite(new CorelibTestSuite(conf));
+ queue.addTestSuite(new Co19TestSuite(conf));
+ queue.addTestSuite(new LanguageTestSuite(conf));
+ queue.addTestSuite(new IsolateTestSuite(conf));
+ queue.addTestSuite(new StubGeneratorTestSuite(conf));
+ if (conf["component"] == "vm") {
+ queue.addTestSuite(new VMTestSuite(conf));
+ }
+ }
+}
« no previous file with comments | « no previous file | testing/dart/multitest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698