Files
HLRTest/container/build-and-test.sh
T

27 lines
449 B
Bash
Raw Normal View History

#!/bin/bash
#set -eux
set -ux
XDG_RUNTIME_DIR=/tmp weston \
--backend=headless \
--renderer=gl \
--width=1280 \
--height=800 \
--socket=wayland-headless &
build() {
pushd /build/xash3d-fwgs
./waf configure -T release -o /build/obj -8
./waf install --destdir=/build/out
popd
}
rendertest() {
pushd /build/HLRTest/render
WAYLAND_DISPLAY=/tmp/wayland-headless ./rendertest.py --xash-dir /build/out run
popd
}
time build
time rendertest