#!/bin/sh
#
# Run the lbdb testsuite
#
# (c) 2018-2026 Roland Rosenfeld <roland@debian.org>

echo "Running dh_auto_configure"
debian/rules override_dh_auto_configure >/dev/null 2>&1

echo "Rebuild testsuite"
make -B -C tests testsuite

echo "Running testsuite"
make testinstalled

# Place testsuite output into artifacts:
cd tests
cp -a testsuite.log testsuite.dir $AUTOPKGTEST_ARTIFACTS/
