Chromium Code Reviews| Index: tools/testing/dart/test_progress.dart |
| =================================================================== |
| --- tools/testing/dart/test_progress.dart (revision 13334) |
| +++ tools/testing/dart/test_progress.dart (working copy) |
| @@ -86,7 +86,7 @@ |
| _printTimingInformation(); |
| stdout.close(); |
| stderr.close(); |
| - if (_failedTests) exit(1); |
| + if (_failedTests > 0) exit(1); |
|
Mads Ager (google)
2012/10/06 06:16:36
Oh my. :(
Ivan Posva
2012/10/11 04:40:39
Shouldn't this have failed in checked mode? Maybe
|
| } |
| void _printStartProgress(TestCase test) {} |
| @@ -235,7 +235,7 @@ |
| } |
| stdout.close(); |
| stderr.close(); |
| - if (_failedTests) exit(1); |
| + if (_failedTests > 0) exit(1); |
| } |
| void allTestsKnown() { |