Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautotest.sh5
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