#!/bin/sh
set -e

# don't be too picky about timing; upstream CI and local developer tests
# are strict, but autopkgtest machines are often slow and shared,
# especially on slower architectures (https://launchpad.net/bugs/1831467)
export SLOW_TESTBED_FACTOR=10

cd obj-*
# 30s timeout is too slow for many architectures, umockdev-run test is quite expensive
meson test -v --num-processes=1 --timeout-multiplier=10 --setup installed
