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

Unified Diff: utils/testrunner/run_pipeline.dart

Issue 27215002: Very simple version of Isolates. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: utils/testrunner/run_pipeline.dart
diff --git a/utils/testrunner/run_pipeline.dart b/utils/testrunner/run_pipeline.dart
index f1de2d300820508ac155922141430ca6ab6a7c9b..f9fd188d30f13af1a92e4a9bb4ad253d5199e493 100644
--- a/utils/testrunner/run_pipeline.dart
+++ b/utils/testrunner/run_pipeline.dart
@@ -60,9 +60,12 @@ List stderr;
/** Directory where test wrappers are created. */
String tmpDir;
-void main() {
- port.receive((cfg, replyPort) {
- config = cfg;
+void main(List<String> args, SendPort replyTo) {
+ var port = new ReceivePort();
+ replyTo.send(port);
+ port.first.then((message) {
+ config = message[0];
+ var replyPort = message[1];
stdout = new List();
stderr = new List();
initPipeline(replyPort);
« no previous file with comments | « tests/standalone/vmservice/multiple_isolate_list_script.dart ('k') | utils/testrunner/standard_test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698