view ci/setup-xvfb.sh @ 28858:7f1a48f095be v8.2.4952

patch 8.2.4952: GUI test will fail if color scheme changes Commit: https://github.com/vim/vim/commit/98feacedf9c03b8db79da03508a2c3c25dac3e53 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 14 12:34:43 2022 +0100 patch 8.2.4952: GUI test will fail if color scheme changes Problem: GUI test will fail if color scheme changes. Solution: Reduce the test for now.
author Bram Moolenaar <Bram@vim.org>
date Sat, 14 May 2022 13:45:02 +0200
parents 1984a3fcc953
children
line wrap: on
line source

#!/bin/bash
set -e

apt-get install -y xvfb

cat <<EOT >/etc/systemd/system/xvfb.service
[Unit]
Description=X Virtual Frame Buffer Service
After=network.target
[Service]
ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24
[Install]
WantedBy=multi-user.target
EOT

systemctl enable xvfb.service
systemctl start xvfb.service