Merge pull request #1996 from nextcloud/allow-phpunit-options
Allow to run autotest with phpunit options
This commit is contained in:
commit
d1550283de
|
@ -389,7 +389,7 @@ if [ -z "$1" ]
|
|||
done
|
||||
else
|
||||
FILENAME="$2"
|
||||
if [ ! -z "$2" ] && [ ! -f "tests/$FILENAME" ]; then
|
||||
if [ ! -z "$2" ] && [ ! -f "tests/$FILENAME" ] && [ "${FILENAME:0:2}" != "--" ]; then
|
||||
FILENAME="../$FILENAME"
|
||||
fi
|
||||
execute_tests "$1" "$FILENAME" "$3"
|
||||
|
|
Loading…
Reference in New Issue