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

Unified Diff: tools/testing/frogpad/frogpad.py

Issue 9657023: print stderr (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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/frogpad/frogpad.py
diff --git a/tools/testing/frogpad/frogpad.py b/tools/testing/frogpad/frogpad.py
index 943c7801c3ba5100152fcc8a31937df17dd6629a..4a9f51d3f371f9ffa21c73a743b00cd0b6256950 100755
--- a/tools/testing/frogpad/frogpad.py
+++ b/tools/testing/frogpad/frogpad.py
@@ -344,10 +344,10 @@ def run_command(args):
stderr=subprocess.PIPE,
close_fds=True)
(stdout, stderr) = child.communicate()
- for line in stderr.splitlines():
- logging.info(logging.INFO, '%s: %s' % (args[0], line))
exit_code = child.wait()
if exit_code:
+ for line in stderr.splitlines():
+ logging.info(logging.INFO, line)
msg = "FAILURE (exit_code=%d): '%s'" % (exit_code, command)
logging.error(msg)
raise CommandFailedException(msg)
« 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