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

Unified Diff: testing/test_env.py

Issue 9706058: Implement dtrace log parsing for MacOSX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | tools/isolate/strace_inputs.py » ('j') | tools/isolate/trace_inputs.py » ('J')
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 f2a4f286842b4e70edf20fbcd900a79b65fa0d81..4e60dbd0b4dc308ada3d28bb94432d49e00d65a2 100755
--- a/testing/test_env.py
+++ b/testing/test_env.py
@@ -25,7 +25,11 @@ def run_executable(cmd, env):
env['CR_SOURCE_ROOT'] = os.path.abspath(ROOT_DIR).encode('utf-8')
if cmd[0].endswith('.py'):
cmd.insert(0, sys.executable)
- return subprocess.call(cmd, env=env)
+ try:
+ return subprocess.call(cmd, env=env)
+ except OSError:
+ print >> sys.stderr, 'Failed to start %s' % cmd
+ raise
def main():
« no previous file with comments | « no previous file | tools/isolate/strace_inputs.py » ('j') | tools/isolate/trace_inputs.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698