#!/bin/sh

set +x
set -e

# generate autoload-files. keep in sync with debian/rules::override_dh_auto_build
phpabtpl debian/tests/composer.json > debian/autoload.tests.php.tpl
phpab --output tests/autoload.php \
      --template debian/autoload.tests.php.tpl \
      tests/

# keep in sync with debian/rules::override_dh_auto_test
phpunit --no-coverage --bootstrap tests/autoload.php