File: run-upstream-tests

package info (click to toggle)
php-zumba-json-serializer 3.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 228 kB
  • sloc: php: 1,082; xml: 20; makefile: 13; sh: 7
file content (15 lines) | stat: -rwxr-xr-x 359 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set +x
set -e

# This is needed because of the test classes
# keep in sync with debian/rules

phpabtpl 2>/dev/null --require Zumba/JsonSerializer > debian/vendor-autoload.php.tpl
phpab --output tests/autoload.php \
      --template debian/vendor-autoload.php.tpl \
    tests

# keep in sync with debian/rules
phpunit --bootstrap tests/autoload.php