#!/bin/sh

set +x
set -e

# This is needed because of the abstract test class (DispatcherTest)
# keep in sync with debian/rules

phpabtpl 2>/dev/null --require FastRoute > debian/vendor-autoload.php.tpl
phpab --output test/autoload.php \
      --template debian/vendor-autoload.php.tpl \
    test

# keep in sync with debian/rules
phpunit --do-not-cache-result --bootstrap test/autoload.php
