libinput 1.22.0
[platform/upstream/libinput.git] / .gitlab-ci / meson-test.sh
1 #!/usr/bin/env bash
2
3 DIR="${BASH_SOURCE%/*}"
4 if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
5 . $DIR/meson-prep.sh
6
7 if [[ -z "$MESON_TEST_ARGS" ]]; then
8     echo "\$MESON_TEST_ARGS undefined."
9     exit 1
10 fi
11
12 meson test -C "$MESON_BUILDDIR" $MESON_TEST_ARGS --print-errorlogs