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

Unified Diff: tools/test.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/test.dart
diff --git a/tools/test.dart b/tools/test.dart
index 984e57d468184666e07cc443fa2ffdb4086f8e54..d3aa98a82aa5056d2b24b8cbaea9fc73478fe8ad 100755
--- a/tools/test.dart
+++ b/tools/test.dart
@@ -30,6 +30,7 @@ import "testing/dart/test_options.dart";
import "testing/dart/test_suite.dart";
import "testing/dart/test_progress.dart";
import "testing/dart/http_server.dart";
+import "testing/dart/utils.dart";
import "../compiler/tests/dartc/test_config.dart";
import "../runtime/tests/vm/test_config.dart";
@@ -89,6 +90,9 @@ main() {
}
}
+ DebugLogger.init(firstConf['write_debug_log'] ?
ricow1 2013/01/17 17:07:38 write_debug_log -> write_debug_log_to_file ?
kustermann 2013/01/18 09:03:25 This way the name is the same as the command line
+ TestUtils.debugLogfile() : null);
+
// Print the configurations being run by this execution of
// test.dart. However, don't do it if the silent progress indicator
// is used. This is only needed because of the junit tests.

Powered by Google App Engine
This is Rietveld 408576698