Files
breeze/tests/apps_diary_test.sh
T
waoziandClaude Opus 5.5 d116acad0f Test desktop Diary backspace, selections and corrections
apps-diary-editing-test drives the standalone Diary on a private Xvfb
display through real SDL keys: backspace, emoji and combining-mark
deletion, selection delete, a mid-text correction and select-all
delete, then restores the entry for the rest of apps-diary-test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-17 15:52:24 -03:00

9 lines
449 B
Bash

#!/bin/sh
set -eu
root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
binary=${1:-"$root/build/bin/linux/breeze-linux-x86_64"}
exec env -u INBE_DIARY_IMPORT -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY -u DBUS_SESSION_BUS_ADDRESS \
-u SESSION_MANAGER YUE_DESKTOP_RECOVERY=0 SDL_VIDEODRIVER=x11 LIBGL_ALWAYS_SOFTWARE=1 \
xvfb-run -a -n 400 -s '-noreset -screen 0 1280x900x24' \
python3 "$root/tests/apps_diary_test.py" "$binary" "${2:-}"