mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-01 07:15:32 -04:00
pgo: full-headless-cage: new headless variant
Appears to work, but cage spams a lot of 00:00:08.026 [types/wlr_output.c:720] Basic output test failed for HEADLESS-1 00:00:08.036 [types/wlr_output.c:720] Basic output test failed for HEADLESS-1
This commit is contained in:
parent
3a34b94f2e
commit
801bce335b
2 changed files with 19 additions and 2 deletions
15
pgo/full-headless-cage.sh
Executable file
15
pgo/full-headless-cage.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
srcdir=$(realpath "${1}")
|
||||
blddir=$(realpath "${2}")
|
||||
|
||||
runtime_dir=$(mktemp -d)
|
||||
trap "rm -rf '${runtime_dir}'" EXIT INT HUP TERM
|
||||
|
||||
# Run Sway. full-headless-sway-inner.sh ends with a ‘swaymsg exit’
|
||||
XDG_RUNTIME_DIR="${runtime_dir}" WLR_BACKENDS=headless cage "${srcdir}"/pgo/full-inner.sh "${srcdir}" "${blddir}"
|
||||
|
||||
# Cage’s exit code doesn’t reflect our script’s exit code
|
||||
[ -f "${blddir}"/pgo-ok ] || exit 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue