view ci/setup-xvfb.sh @ 26484:d945799b4604 v8.2.3772

patch 8.2.3772: timer info test fails on slow machine Commit: https://github.com/vim/vim/commit/ff39a650b2bd31e30d1bb8766e8560f9a14a7137 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 10 10:57:08 2021 +0000 patch 8.2.3772: timer info test fails on slow machine Problem: Timer info test fails on slow machine. Solution: Use WaitForAssert().
author Bram Moolenaar <Bram@vim.org>
date Fri, 10 Dec 2021 12:00:04 +0100
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