os: if inet_ntop() is available, use it for IPv4 addresses as well
[xserver.git] / .gitlab-ci / check-ddx-build.sh
blobdf6f0c02926c5a00b319deafcae4fec0450da844
1 #!/bin/bash
3 set -e
4 set -o xtrace
6 check_executable () {
7 if [[ ! -x $MESON_BUILDDIR/$1 ]]; then
8 echo "$1 not found after build"
9 exit 1
11 return 0
14 if [[ -z "$MESON_BUILDDIR" ]]; then
15 echo "\$MESON_BUILDDIR not set"
16 exit 1
19 [[ "$BUILD_XEPHYR" == true ]] && check_executable "hw/kdrive/ephyr/Xephyr"
20 [[ "$BUILD_XNEST" == true ]] && check_executable "hw/xnest/Xnest"
21 [[ "$BUILD_XORG" == true ]] && check_executable "hw/xfree86/Xorg"
22 [[ "$BUILD_XVFB" == true ]] && check_executable "hw/vfb/Xvfb"
23 [[ "$BUILD_XWAYLAND" == true ]] && check_executable "hw/xwayland/Xwayland"
25 exit 0