Skip to content

Commit

Permalink
Merge pull request #1996 from nextcloud/allow-phpunit-options
Browse files Browse the repository at this point in the history
Allow to run autotest with phpunit options
  • Loading branch information
rullzer authored Nov 3, 2016
2 parents b33ceb6 + 11fa8fe commit d155028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autotest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d155028

Please sign in to comment.