#!/bin/sh
# Build and run the public-API test against the installed libtsm.
# The source tree is read-only under autopkgtest, so build in $AUTOPKGTEST_TMP.
set -e

cp -a debian/tests "${AUTOPKGTEST_TMP}/t"
cd "${AUTOPKGTEST_TMP}/t"

meson setup build
meson test -C build --print-errorlogs
