tests: run the render test from the single entry point
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Failing after 21s
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Failing after 21s
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Failing after 21s
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Failing after 20s
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Failing after 22s
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Failing after 21s
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Failing after 21s
build / module (push) Failing after 17s
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Failing after 20s
build / host-linux (push) Failing after 20s
build / host-windows-cross (push) Failing after 21s
build / obs (clang) (push) Failing after 21s
build / docs (push) Failing after 4s
build / obs (gcc) (push) Failing after 22s
build / host-windows-native (push) Canceled after 0s
build / idd (push) Canceled after 0s
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Failing after 21s
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Failing after 21s
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Failing after 21s
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Failing after 20s
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Failing after 22s
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Failing after 21s
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Failing after 21s
build / module (push) Failing after 17s
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Failing after 20s
build / host-linux (push) Failing after 20s
build / host-windows-cross (push) Failing after 21s
build / obs (clang) (push) Failing after 21s
build / docs (push) Failing after 4s
build / obs (gcc) (push) Failing after 22s
build / host-windows-native (push) Canceled after 0s
build / idd (push) Canceled after 0s
Skips cleanly when a client, Xvfb or ImageMagick is unavailable.
This commit is contained in:
1 parent
e35d51ea39
commit
9a1efd34df
1 file changed
+28
@@ -79,6 +79,34 @@ kill "$HOST_PID" 2>/dev/null
|
||||
wait "$HOST_PID" 2>/dev/null
|
||||
rm -f "$SHM"
|
||||
|
||||
CLIENT_BIN="$ROOT/client/build/looking-glass-client"
|
||||
if [ -x "$CLIENT_BIN" ] && command -v Xvfb >/dev/null && \
|
||||
command -v convert >/dev/null; then
|
||||
echo
|
||||
echo "=============================================="
|
||||
echo " render test: client composition"
|
||||
echo "=============================================="
|
||||
|
||||
if ! gcc -O2 -msse4.1 -o "$OUT/lg-fake-host" host/tests/lg-fake-host.c \
|
||||
-I common/include -I repos/LGMP/lgmp/include -I host/include -I . \
|
||||
-Wl,--start-group \
|
||||
host/build/common/liblg_common.a \
|
||||
host/build/common/src/platform/linux/liblg_common_platform_code.a \
|
||||
host/build/lgmp/liblgmp.a \
|
||||
-Wl,--end-group \
|
||||
-lpthread -lrt -lbfd 2>"$OUT/fake-build.log"; then
|
||||
echo "FAILED to build the synthetic host:"
|
||||
tail -5 "$OUT/fake-build.log"
|
||||
RC=1
|
||||
else
|
||||
host/tests/test-compose.sh "$OUT/lg-fake-host" "$CLIENT_BIN" \
|
||||
"$OUT/compose" || RC=1
|
||||
fi
|
||||
else
|
||||
echo
|
||||
echo "skipping the render test: needs a built client, Xvfb and ImageMagick"
|
||||
fi
|
||||
|
||||
echo
|
||||
if [ $RC -eq 0 ]; then
|
||||
echo "ALL TESTS PASSED"
|
||||
|
||||
Reference in new issue
Block a user