AtlatestRepositorysigil-wm
1
#!/usr/bin/env bash2
set -euo pipefail3
cd -P "$(dirname "$0")/.."4
make -j2 all build/trace-records-test build/output-inventory-test5
build/trace-records-test6
build/output-inventory-test7
test_runtime=$(mktemp -d /tmp/wm-trace.XXXXXX)8
trap 'rm -rf "$test_runtime"' EXIT9
chmod 700 "$test_runtime"10
export XDG_RUNTIME_DIR=$test_runtime WLR_BACKENDS=headless WLR_RENDERER=pixman WLR_HEADLESS_OUTPUTS=111
export SIGIL_WM_LIBRARY=$PWD/build/libsigil-wm.so12
timeout --foreground 30 "${SIGIL:-sigil}" -L src eval -f test/trace-inventory.sgl