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

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

Issue 11962042: Added DebugLogger to testing scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
Index: tools/testing/dart/test_progress.dart
diff --git a/tools/testing/dart/test_progress.dart b/tools/testing/dart/test_progress.dart
index cf3642454e05ba63e34d7463c01cb0968165d4f0..4b019d4a58877e57441eecdc69aa8d4de4bcd54b 100644
--- a/tools/testing/dart/test_progress.dart
+++ b/tools/testing/dart/test_progress.dart
@@ -108,6 +108,7 @@ class ProgressIndicator {
_printStatus();
_printSkippedCompilationInfo();
_printTimingInformation();
+ DebugLogger.close();
ricow1 2013/01/17 17:07:38 I don't think this is the right place to do this (
kustermann 2013/01/17 17:33:17 Done.
stdout.close();
stderr.close();
if (_failedTests > 0) exit(1);
@@ -268,7 +269,9 @@ class SilentProgressIndicator extends ProgressIndicator {
void _printStartProgress(TestCase test) { }
void _printDoneProgress(TestCase test) { }
void allTestsKnown() { }
- void allDone() { }
+ void allDone() {
+ DebugLogger.close();
+ }
}
abstract class CompactIndicator extends ProgressIndicator {
@@ -285,6 +288,7 @@ abstract class CompactIndicator extends ProgressIndicator {
_printProgress();
print('');
}
+ DebugLogger.close();
stdout.close();
stderr.close();
if (_failedTests > 0) exit(1);

Powered by Google App Engine
This is Rietveld 408576698