Merge pull request #12722 from owncloud/autocomplete-for-autotest-jenkins

Allow autocomplete for test file in autotest.sh
This commit is contained in:
Thomas Müller 2014-12-09 13:11:00 +01:00
commit 1a16238d5d
1 changed files with 5 additions and 1 deletions

View File

@ -227,7 +227,11 @@ if [ -z "$1" ]
execute_tests $DBCONFIG
done
else
execute_tests "$1" "$2" "$3"
FILENAME="$2"
if [ ! -f "tests/$FILENAME" ]; then
FILENAME="../$FILENAME"
fi
execute_tests "$1" "$FILENAME" "$3"
fi
cd "$BASEDIR"