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

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

Issue 12302018: Print testCase.commands only once if --verbose was specified (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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_runner.dart
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
index 356b664819872c0e5394b56312276e5176a9889d..5ee65846be1795fcc97faa0c6638c2a41a0003da 100644
--- a/tools/testing/dart/test_runner.dart
+++ b/tools/testing/dart/test_runner.dart
@@ -1594,7 +1594,9 @@ class ProcessQueue {
new Timer(100, (_) => _tryRunTest()); // Don't lose a process.
return;
}
- if (_verbose) {
+ // Before running any commands, we print out all commands if '--verbose'
+ // was specified.
+ if (_verbose && test.commandOutputs.length == 0) {
int i = 1;
if (test is BrowserTestCase) {
// Additional command for rerunning the steps locally after the fact.
« 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