diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-08-05 21:50:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-05 21:50:43 +0200 |
commit | ecc2a023113cf2522ca6ec9ebae32d168470bf35 (patch) | |
tree | ddecc151f2588fae0aba4b3c619d04768108e30a | |
parent | d65a35ed3ad699fab23578b77c79fa50c2494ab9 (diff) | |
parent | b3206de7361c3fffaba971cfd87b8859d2d8722b (diff) | |
download | nextcloud-server-ecc2a023113cf2522ca6ec9ebae32d168470bf35.tar.gz nextcloud-server-ecc2a023113cf2522ca6ec9ebae32d168470bf35.zip |
Merge pull request #28325 from PhrozenByte/enhancement/noid/AutotestPhpunitEnv
autotest.sh: Add PHPUNIT_EXE environment variable
-rwxr-xr-x | autotest.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/autotest.sh b/autotest.sh index cf166a79186..ed66c7b2260 100755 --- a/autotest.sh +++ b/autotest.sh @@ -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 |