diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-20 01:17:24 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-20 01:17:24 +0000 |
commit | 40bcbbd1d091c4c1ea7dc623bd287fee2797bab0 (patch) | |
tree | ff16ffc0fd0ffe56374b1dc542b2e56f39c97fa7 /testing/xvfb.py | |
parent | 735e20c7177f5ec034d8198b4c7549362b241f54 (diff) | |
download | chromium_src-40bcbbd1d091c4c1ea7dc623bd287fee2797bab0.zip chromium_src-40bcbbd1d091c4c1ea7dc623bd287fee2797bab0.tar.gz chromium_src-40bcbbd1d091c4c1ea7dc623bd287fee2797bab0.tar.bz2 |
Improve trace_inputs.py to output a format easy to convert to gypi.
Update scripts to have better error messages.
Improve isolate.py output directory defaults.
R=rogerta@chromium.org
BUG=98834
TEST=
Review URL: http://codereview.chromium.org/9704099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127605 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing/xvfb.py')
-rwxr-xr-x | testing/xvfb.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/xvfb.py b/testing/xvfb.py index a5cb7aa..73bcd16 100755 --- a/testing/xvfb.py +++ b/testing/xvfb.py @@ -64,8 +64,13 @@ def wait_for_xvfb(xdisplaycheck, env): stdout=subprocess.PIPE, stderr=subprocess.STDOUT, env=env) + except OSError: + print >> sys.stderr, 'Failed to load %s with cwd=%s' % ( + xdisplaycheck, os.getcwd()) + return False except subprocess.CalledProcessError: - print >> sys.stderr, 'Xvfb failed to load properly.' + print >> sys.stderr, ( + 'Xvfb failed to load properly while trying to run %s' % xdisplaycheck) return False return True |