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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 9024008: Change the process API to be completely asynchronous. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add binaries. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/testing/dart/test_runner.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index e47c05f82596981f7f7ebb9568e52f7e72bd445c..7c566549110cf00f6c9dbcade3b23dc03fae33cf 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -20,7 +20,7 @@ class CCTestListerIsolate extends Isolate {
void main() {
port.receive((String runnerPath, SendPort replyTo) {
- var p = new Process(runnerPath, ["--list"]);
+ var p = new Process.start(runnerPath, ["--list"]);
StringInputStream stdoutStream = new StringInputStream(p.stdout);
List<String> tests = new List<String>();
stdoutStream.lineHandler = () {
@@ -40,7 +40,6 @@ class CCTestListerIsolate extends Isolate {
}
replyTo.send("");
};
- p.start();
});
}
}
« no previous file with comments | « tools/testing/dart/test_runner.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698