summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2016-11-03 13:15:39 +0100
committerGitHub <noreply@github.com>2016-11-03 13:15:39 +0100
commitd1550283deee8b014eb957c6593c709b6ec8280c (patch)
treeb0916f132f5c53630c719e6a206589821835908f
parentb33ceb6fdd7a9458ba2d8730b401271eb640822d (diff)
parent11fa8fe7eef79f33ac9686a1fb11b90e71669dbf (diff)
downloadnextcloud-server-d1550283deee8b014eb957c6593c709b6ec8280c.tar.gz
nextcloud-server-d1550283deee8b014eb957c6593c709b6ec8280c.zip
Merge pull request #1996 from nextcloud/allow-phpunit-options
Allow to run autotest with phpunit options
-rwxr-xr-xautotest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotest.sh b/autotest.sh
index f53d37ec09b..f42ca41de9d 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -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"