#!/bin/sh
set +x
set -e
# generate autoload-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
SKIP_32_BIT="$(php -n -r "echo (PHP_INT_SIZE === 4 || php_uname('m') === 's390x') ? '--exclude-group 32bit-incompatible' : '';")"
# keep in sync with debian/rules::override_dh_auto_test
LC_ALL=C.UTF-8 phpunit --do-not-cache-result --fail-on-empty-test-suite --no-coverage --exclude-group selenium --exclude-group network --exclude-group git-revision --exclude-group ext-xdebug --exclude-group with-trigger-error --exclude-group extension-iconv ${SKIP_32_BIT} --bootstrap $(dirname $0)/phpunit-bootstrap-dep8.php
|