Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: tools/testing/dart/test_progress.dart

Issue 11086019: Update test.dart to do the same on all platforms for tests run (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/testing/dart/test_runner.dart » ('j') | tools/testing/dart/test_runner.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « no previous file | tools/testing/dart/test_runner.dart » ('j') | tools/testing/dart/test_runner.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698