| Index: tools/testing/dart/test_progress.dart
|
| diff --git a/tools/testing/dart/test_progress.dart b/tools/testing/dart/test_progress.dart
|
| index 7ea2d7348ff4de445b8be83051f4660f40cfcbbb..93e8e8a0b3bd19e1ceea7123f5b8fdb507cef8af 100644
|
| --- a/tools/testing/dart/test_progress.dart
|
| +++ b/tools/testing/dart/test_progress.dart
|
| @@ -86,7 +86,7 @@ class ProgressIndicator {
|
| _printTimingInformation();
|
| stdout.close();
|
| stderr.close();
|
| - exit(_failedTests > 0 ? 1 : 0);
|
| + if (_failedTests > 0) exit(1);
|
| }
|
|
|
| void _printStartProgress(TestCase test) {}
|
| @@ -220,9 +220,7 @@ class SilentProgressIndicator extends ProgressIndicator {
|
| void _printStartProgress(TestCase test) { }
|
| void _printDoneProgress(TestCase test) { }
|
| void allTestsKnown() { }
|
| - void allDone() {
|
| - exit(0);
|
| - }
|
| + void allDone() { }
|
| }
|
|
|
| abstract class CompactIndicator extends ProgressIndicator {
|
| @@ -240,7 +238,7 @@ abstract class CompactIndicator extends ProgressIndicator {
|
| }
|
| stdout.close();
|
| stderr.close();
|
| - exit(_failedTests > 0 ? 1 : 0);
|
| + if (_failedTests > 0) exit(1);
|
| }
|
|
|
| void allTestsKnown() {
|
|
|