Files
breeze/tests/native_zoom_test.sh
T

9 lines
380 B
Bash
Executable File

#!/bin/sh
set -eu
root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
binary=${1:-"$root/build/bin/linux/breeze-linux-x86_64"}
env -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY -u GDK_DISPLAY \
-u DBUS_SESSION_BUS_ADDRESS YUE_DESKTOP_RECOVERY=0 \
timeout 120s xvfb-run -a -n 300 -s '-noreset -screen 0 1280x900x24' \
python3 "$root/tests/native_zoom_test.py" "$binary"