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

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

Issue 9649023: fix exit_code (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 ee212d8699435abc981f8aecab657df015482b13..c546f4de07629b42a910602c976f03c86709f142 100755
--- a/tools/testing/frogpad/frogpad.py
+++ b/tools/testing/frogpad/frogpad.py
@@ -346,8 +346,8 @@ def run_command(args):
(stdout, stderr) = child.communicate()
for line in stderr.splitlines():
logging.info(logging.INFO, '%s: %s', args[0], line)
- exitcode = child.wait()
- if exitcode:
+ exit_code = child.wait()
+ if exit_code:
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