File: phpunit

package info (click to toggle)
phpmyadmin-sql-parser 5.10.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,244 kB
  • sloc: php: 52,958; makefile: 13; sh: 8
file content (16 lines) | stat: -rwxr-xr-x 452 bytes parent folder | download | duplicates (2)
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 tests/autoload.php \
      tests

# Symlink needed by CLITest::testStdinPipe
mkdir -p vendor
ln -s -f -r tests/autoload.php vendor/autoload.php

# keep in sync with debian/rules::override_dh_auto_test
LC_ALL=C.UTF-8 phpunit --bootstrap tests/autoload.php --no-coverage