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

Unified Diff: tools/test.dart

Issue 8492013: Add asynchronous test suite runner to Dart rewrite of test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to more comments. 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 | « tests/standalone/test_config.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test.dart
diff --git a/tools/test.dart b/tools/test.dart
new file mode 100755
index 0000000000000000000000000000000000000000..a9baeff79e6f6fcf2513db47c8083aea8b6c7f3f
--- /dev/null
+++ b/tools/test.dart
@@ -0,0 +1,17 @@
+#!/usr/bin/env dart_bin
+// 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.
+
+#library("test");
+
+#import("testing/dart/test_runner.dart");
+#import("../tests/standalone/test_config.dart");
+#import("../tests/corelib/test_config.dart");
+
+main() {
+ int numProcessors = new Platform().numberOfProcessors();
+ var queue = new ProcessQueue(numProcessors);
+ new StandaloneTestSuite().forEachTest(queue.runTest);
+ new CorelibTestSuite().forEachTest(queue.runTest);
+}
« no previous file with comments | « tests/standalone/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