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

Unified Diff: testing/test_env.py

Issue 1647653008: Don't silently swallow error about symbolize script not existing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: testing/test_env.py
diff --git a/testing/test_env.py b/testing/test_env.py
index 052df6769b262c442a5b8721ae38c166c659c0b8..c3dc1197567c6e00c647ad46441d1780c0b6baf7 100755
--- a/testing/test_env.py
+++ b/testing/test_env.py
@@ -155,11 +155,13 @@ def symbolize_snippets_in_json(cmd, env):
p = subprocess.Popen(symbolize_command, stderr=subprocess.PIPE, env=env)
(_, stderr) = p.communicate()
except OSError as e:
- print 'Exception while symbolizing snippets: %s' % e
+ print 'Exception while symbolizing snippets: %s' % e
M-A Ruel 2016/01/29 16:34:23 print >> sys.stderr, 'Exception ...
+ raise
if p.returncode != 0:
print "Error: failed to symbolize snippets in JSON:\n"
print stderr
M-A Ruel 2016/01/29 16:34:23 print >> sys.stderr, stderr ?
+ raise subprocess.CalledProcessError(p.returncode, symbolize_command)
def run_executable(cmd, env):
« 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