libinput/.gitlab-ci/meson-test.sh
Benjamin Tissoires 24956221b9 CI: in b2c, compile on the host, then test in qemu
Looks like we are having clock skew issues on qemu, so given that
we just need qemu in the image, we can compile on the host (reliable)
and then only start the tests in qemu.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2022-09-02 08:41:28 +02:00

12 lines
268 B
Bash
Executable file

#!/usr/bin/env bash
DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
. $DIR/meson-prep.sh
if [[ -z "$MESON_TEST_ARGS" ]]; then
echo "\$MESON_TEST_ARGS undefined."
exit 1
fi
meson test -C "$MESON_BUILDDIR" $MESON_TEST_ARGS --print-errorlogs