AtlatestRepositorysigil-wm

sigil-wm / tree / scriptstest-deadlines

1#!/usr/bin/env bash
2set -euo pipefail
3cd -P "$(dirname "$0")/.."
4make -j2 all build/deadlines-test
5build/deadlines-test
6test_runtime=$(mktemp -d /tmp/wm-deadlines.XXXXXX)
7trap 'rm -rf "$test_runtime"' EXIT
8chmod 700 "$test_runtime"
9export XDG_RUNTIME_DIR=$test_runtime WLR_BACKENDS=headless WLR_RENDERER=pixman WLR_HEADLESS_OUTPUTS=1
10export SIGIL_WM_LIBRARY=$PWD/build/libsigil-wm.so
11timeout --foreground 30 "${SIGIL:-sigil}" -L src eval -f test/deadline-live.sgl