view ci/setup-xvfb.sh @ 28710:54e33757d1ec v8.2.4879

patch 8.2.4879: screendump test may fail when using valgrind Commit: https://github.com/vim/vim/commit/3e79427803927be42409e9e50c0a308526b83656 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 6 11:21:19 2022 +0100 patch 8.2.4879: screendump test may fail when using valgrind Problem: Screendump test may fail when using valgrind. Solution: Wait longer for the first screendump.
author Bram Moolenaar <Bram@vim.org>
date Fri, 06 May 2022 12:30:03 +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