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

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

Issue 12092041: Only print stdout/stderr if we've got an unexpected output (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
« 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 1f20e6e02dc6f0d30efef72ac51f11f17725e84f..95a0532d08d5cf861cb23519317a3c28f8fc4498 100644
--- a/tools/testing/dart/test_runner.dart
+++ b/tools/testing/dart/test_runner.dart
@@ -1692,7 +1692,7 @@ class ProcessQueue {
// Otherwise we need to enqueue it again into the test queue.
if (lastCommandCompleted || timedOut || nonZeroExitCode) {
var verbose = testCase.configuration['verbose'];
- if (nonZeroExitCode && verbose != null && verbose) {
+ if (lastCommandOutput.unexpectedOutput && verbose != null && verbose) {
print(testCase.displayName);
print("stderr:");
print(decodeUtf8(lastCommandOutput.stderr));
« 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