#!/bin/sh

set +x
set -e

# generate outoload-files. keep in sync with debian/rules::override_dh_auto_build

phpab --template debian/autoload-test-autopkgtest.php.tpl \
  --output test/autoload.php \
  test

# keep in sync with debian/rules::override_dh_auto_test
LC_ALL=C.UTF-8 phpunit --bootstrap $(dirname $0)/config.php --no-coverage --exclude-group selenium,network,git-revision,environment,extension-iconv,32bit-incompatible,noautopkgtest
