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

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

Issue 9378028: test.dart progress bar: a small tweak when --report is not used. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | no next file » | no next file with comments »
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 334dec0a35800dd6d27fa23b7570f9bbba0e5e0e..11f874f8c041541b97f93ec38970701f3939ec50 100644
--- a/tools/testing/dart/test_progress.dart
+++ b/tools/testing/dart/test_progress.dart
@@ -215,7 +215,7 @@ class CompactIndicator extends ProgressIndicator {
}
void allTestsKnown() {
- if (!_allTestsKnown) {
+ if (!_allTestsKnown && SummaryReport.total > 0) {
// Clear progress indicator before printing summary report.
stdout.write(
'\r \r'.charCodes());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698