From 40bcbbd1d091c4c1ea7dc623bd287fee2797bab0 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Tue, 20 Mar 2012 01:17:24 +0000 Subject: 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 --- testing/xvfb.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'testing/xvfb.py') 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 -- cgit v1.1