File: phpunit

package info (click to toggle)
phpmyadmin 4%3A5.2.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 142,056 kB
  • sloc: javascript: 228,532; php: 167,409; xml: 17,850; sql: 504; sh: 278; makefile: 208; python: 205
file content (16 lines) | stat: -rw-r--r-- 754 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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