#!/bin/bash

set -e

export $(dpkg-architecture)

case "$(dpkg --print-architecture)" in
    armhf|i386)
        echo "Skipping on unsupported architecture"
        exit 77
        ;;
esac

# Build unit test
cd obj-*

xvfb-run -a meson -v test
