| Index: tools/testing/dart/test_runner.dart
|
| diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
|
| index 262440fa664efcd0cbc2549143566a86f192e0d1..b7b80bb1ed57cf1290ae4b6c1435d609bd91b802 100644
|
| --- a/tools/testing/dart/test_runner.dart
|
| +++ b/tools/testing/dart/test_runner.dart
|
| @@ -1290,7 +1290,7 @@ class BatchRunnerProcess {
|
| // If there is an error starting a batch process, chances are that
|
| // it will always fail. So rather than re-trying a 1000+ times, we
|
| // exit.
|
| - exit(1);
|
| + io.exit(1);
|
| return true;
|
| });
|
| }
|
| @@ -1465,7 +1465,7 @@ class ProcessQueue {
|
| print(" Command: $cmd ${arg.join(' ')}");
|
| print(" Error: $e");
|
| // TODO(ahe): How to report this as a test failure?
|
| - exit(1);
|
| + io.exit(1);
|
| return true;
|
| });
|
| }
|
| @@ -1536,7 +1536,7 @@ class ProcessQueue {
|
| print(" Command: java -jar $file");
|
| print(" Error: $e");
|
| // TODO(ahe): How to report this as a test failure?
|
| - exit(1);
|
| + io.exit(1);
|
| return true;
|
| });
|
| }
|
|
|