summaryrefslogtreecommitdiffstats
path: root/testing/xvfb.py
diff options
context:
space:
mode:
authoroshima <oshima@chromium.org>2015-10-02 13:48:31 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-02 20:49:21 +0000
commit7b59b1e5ff328f50d2dc8958e05fb10a07f8887d (patch)
tree67a3f34274a1345e4ea243504535eed35aa227f8 /testing/xvfb.py
parent3c89821632ac5ab5a5199c4d4a8920cd35f7cbb5 (diff)
downloadchromium_src-7b59b1e5ff328f50d2dc8958e05fb10a07f8887d.zip
chromium_src-7b59b1e5ff328f50d2dc8958e05fb10a07f8887d.tar.gz
chromium_src-7b59b1e5ff328f50d2dc8958e05fb10a07f8887d.tar.bz2
Make the Xvfb's size fit to the ChromeOS desktop size so that interactive_ui_test can move the mouse.
I tired to make the desktop smaller (1024x768) but there are tests that requires 1280 window width, so I'm changing the Xvfb's size instead. BUG=None Review URL: https://codereview.chromium.org/1377393003 Cr-Commit-Position: refs/heads/master@{#352120}
Diffstat (limited to 'testing/xvfb.py')
-rwxr-xr-xtesting/xvfb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/xvfb.py b/testing/xvfb.py
index 62815b2..2b17d96 100755
--- a/testing/xvfb.py
+++ b/testing/xvfb.py
@@ -83,7 +83,7 @@ def start_xvfb(env, build_dir, xvfb_path='Xvfb', display=':9'):
openbox_proc = None
try:
- xvfb_cmd = [xvfb_path, display, '-screen', '0', '1024x768x24', '-ac',
+ xvfb_cmd = [xvfb_path, display, '-screen', '0', '1280x800x24', '-ac',
'-nolisten', 'tcp', '-dpi', '96']
xvfb_proc = subprocess.Popen(xvfb_cmd, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)