autotest.sh: Add PHPUNIT_EXE environment variable

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
This commit is contained in:
Daniel Rudolf 2021-08-05 16:42:32 +02:00
parent fc4e1d3c42
commit b3206de736
No known key found for this signature in database
GPG Key ID: A061F02CD8DE4538
1 changed files with 4 additions and 1 deletions

View File

@ -29,7 +29,10 @@ if [ -z "$PHP_EXE" ]; then
PHP_EXE=php
fi
PHP=$(which "$PHP_EXE")
PHPUNIT=$(which phpunit)
if [ -z "$PHPUNIT_EXE" ]; then
PHPUNIT_EXE=phpunit
fi
PHPUNIT=$(which "$PHPUNIT_EXE")
set -e