This means you can just do `cd tests/ && ./run-tests` to run the tests now.
You can still override the APK source with the first argument, like:
cd tests/ && ./run-tests /path/to/lots/of/apks/dir
include fdroidserver/getsig/make.sh
include fdroidserver/getsig/getsig.java
include tests/run-tests
+include tests/urzip.apk
include wp-fdroid/AndroidManifest.xml
include wp-fdroid/android-permissions.php
include wp-fdroid/readme.txt
#------------------------------------------------------------------------------#
# "main"
-if [ $# -ne 1 ]; then
+if [ $1 = "-h" ] || [ $1 = "--help" ]; then
+ set +x
echo "Usage: $0 '/path/to/folder/with/apks'"
exit 1
fi
exit 1
fi
-APKDIR=$1
+if [ -z $1 ]; then
+ APKDIR=`pwd`
+else
+ APKDIR=$1
+fi
if [ -z $WORKSPACE ]; then
WORKSPACE=`dirname $(pwd)`