Chromium Code Reviews| Index: utils/testrunner/testrunner.dart |
| diff --git a/utils/testrunner/testrunner.dart b/utils/testrunner/testrunner.dart |
| index 7ecf8ac985d5c0b833bb9df73365db95f67582ed..3a93a0438d42a9b7b92a879115e40338daed7853 100755 |
| --- a/utils/testrunner/testrunner.dart |
| +++ b/utils/testrunner/testrunner.dart |
| @@ -256,8 +256,10 @@ void spawnTasks(Map config, List testFiles) { |
| // We could later print a summary report here. |
| } |
| }); |
| - SendPort s = spawnUri(config['pipeline']); |
| - |
| + var response = new ReceivePort(); |
| + spawnUri(config['pipeline'], [], response) |
| + .then((_) => return response.first) |
| + .then((s) { |
| // Get the names of the source and target test files and containing |
|
Lasse Reichstein Nielsen
2013/10/25 09:42:49
Indentation seems wrong. It should be two characte
floitsch
2013/10/25 13:11:01
Done.
|
| // directories. |
| var testPath = new Path(testfile); |
| @@ -280,14 +282,14 @@ void spawnTasks(Map config, List testFiles) { |
| _testDir = targetDir; |
| } |
| if (f == null) { |
| - s.send(config, port.toSendPort()); |
| + s.send([config, port.sendPort]); |
| } else { |
| f.then((_) { |
| - s.send(config, port.toSendPort()); |
| + s.send([config, port.sendPort]); |
| }); |
| break; // Don't do any more until pub is done. |
| } |
| - } |
| + }); |
| } |
| /** |