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

Unified Diff: tools/test.dart

Issue 14139011: Print the failure summary by default (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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/test.dart
diff --git a/tools/test.dart b/tools/test.dart
index bf28d9e75ffca38f2e4ed88cddc7c7bff8340337..1d78bbccd3bd9b908f2ce904ac43ef594367bcc2 100755
--- a/tools/test.dart
+++ b/tools/test.dart
@@ -79,6 +79,8 @@ void testConfigurations(List<Map> configurations) {
var firstConf = configurations[0];
var maxProcesses = firstConf['tasks'];
var progressIndicator = firstConf['progress'];
+ // TODO(kustermann): Remove this option once the buildbots don't use it
+ // anymore.
var failureSummary = firstConf['failure-summary'];
BuildbotProgressIndicator.stepName = firstConf['step_name'];
var verbose = firstConf['verbose'];
@@ -195,10 +197,9 @@ void testConfigurations(List<Map> configurations) {
eventListener.add(new FlakyLogWriter());
if (printFailures) {
// The buildbot has it's own failure summary since it needs to wrap it
- // into'@@@'-annotated sections.
- var printFaiureSummary =
- failureSummary && progressIndicator != 'buildbot';
- eventListener.add(new TestFailurePrinter(printFaiureSummary, formatter));
+ // into '@@@'-annotated sections.
+ var printFailureSummary = progressIndicator != 'buildbot';
+ eventListener.add(new TestFailurePrinter(printFailureSummary, formatter));
}
eventListener.add(new ProgressIndicator.fromName(progressIndicator,
startTime,
« 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