Skip to content
Snippets Groups Projects
Commit d1550283 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #1996 from nextcloud/allow-phpunit-options

Allow to run autotest with phpunit options
parents b33ceb6f 11fa8fe7
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment