summaryrefslogtreecommitdiffstats
path: root/testing/xvfb.py
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 01:17:24 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 01:17:24 +0000
commit40bcbbd1d091c4c1ea7dc623bd287fee2797bab0 (patch)
treeff16ffc0fd0ffe56374b1dc542b2e56f39c97fa7 /testing/xvfb.py
parent735e20c7177f5ec034d8198b4c7549362b241f54 (diff)
downloadchromium_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-xtesting/xvfb.py7
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