Allow to run autotest with phpunit options

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/1996/head
Joas Schilling 8 years ago
parent e11197bc48
commit 11fa8fe7ee
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8

@ -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…
Cancel
Save