File: phpunit

package info (click to toggle)
php-di-invoker 2.3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 264 kB
  • sloc: php: 1,161; makefile: 13; sh: 6
file content (14 lines) | stat: -rwxr-xr-x 498 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -eu

# generate autoload-files. keep in sync with debian/rules::override_dh_auto_build
phpabtpl --require PhpDi/Invoker 2>/dev/null > debian/autoload.tests.php.tpl

# This is needed because there is non test classes in tests/
phpab --output tests/autoload.php \
        --template debian/autoload.tests.php.tpl \
    tests/

# keep in sync with debian/rules::override_dh_auto_test
phpunit --no-coverage --do-not-cache-result --fail-on-empty-test-suite --bootstrap tests/autoload.php