File: phpunit

package info (click to toggle)
phing 3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,368 kB
  • sloc: php: 59,821; xml: 9,767; sql: 78; makefile: 39; sh: 14
file content (20 lines) | stat: -rwxr-xr-x 621 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -eu

SKIP_32_BIT="$(php -n -r "echo (PHP_INT_SIZE === 4 || php_uname('m') === 's390x') ? '--exclude-group 32bit-incompatible' : '';")"

phpabtpl --require mikey179/vfsstream --require-file /usr/share/php/phing/autoload.php 2>/dev/null 1> debian/autoload-tests.php.tpl

mkdir -p vendor
phpab --output vendor/autoload.php \
	--template debian/autoload-tests.php.tpl tests/

PHING_AUTOLOAD="vendor/autoload.php" \
PHING_SOURCE="/usr/share/php/phing/" \
	phpunit \
		-d intl.default_locale=en \
		--no-coverage \
		--do-not-cache-result \
		--display-skipped \
		--configuration tests/phpunit.xml $SKIP_32_BIT