diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-16 04:18:23 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-16 04:18:23 +0000 |
commit | 50ec9f23f7673cc5a1ea350a6183c16ed414d30c (patch) | |
tree | b9b987f97bc32f0f8a32f970616358e965c251e9 /testing/test_env.py | |
parent | a30a9ba33df4cc031a83a7674170fec593f5673f (diff) | |
download | chromium_src-50ec9f23f7673cc5a1ea350a6183c16ed414d30c.zip chromium_src-50ec9f23f7673cc5a1ea350a6183c16ed414d30c.tar.gz chromium_src-50ec9f23f7673cc5a1ea350a6183c16ed414d30c.tar.bz2 |
Implement dtrace log parsing for MacOSX.
Rename strace_inputs.py to trace_inputs.py since it's now using both strace and
dtrace, depending on the platform.
R=rogerta@chromium.org
BUG=98636
Review URL: http://codereview.chromium.org/9706058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127100 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing/test_env.py')
-rwxr-xr-x | testing/test_env.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testing/test_env.py b/testing/test_env.py index f2a4f28..4e60dbd 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(): |