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); |