| Index: tools/testing/dart/test_progress.dart
|
| ===================================================================
|
| --- tools/testing/dart/test_progress.dart (revision 13364)
|
| +++ tools/testing/dart/test_progress.dart (working copy)
|
| @@ -86,7 +86,7 @@
|
| _printTimingInformation();
|
| stdout.close();
|
| stderr.close();
|
| - if (_failedTests > 0) exit(1);
|
| + exit(_failedTests > 0 ? 1 : 0);
|
| }
|
|
|
| void _printStartProgress(TestCase test) {}
|
| @@ -220,7 +220,9 @@
|
| void _printStartProgress(TestCase test) { }
|
| void _printDoneProgress(TestCase test) { }
|
| void allTestsKnown() { }
|
| - void allDone() { }
|
| + void allDone() {
|
| + exit(0);
|
| + }
|
| }
|
|
|
| abstract class CompactIndicator extends ProgressIndicator {
|
| @@ -238,7 +240,7 @@
|
| }
|
| stdout.close();
|
| stderr.close();
|
| - if (_failedTests > 0) exit(1);
|
| + exit(_failedTests > 0 ? 1 : 0);
|
| }
|
|
|
| void allTestsKnown() {
|
|
|