chiark / gitweb /
tests: allow running ./tests/run-tests
authorDaniel Martí <mvdan@mvdan.cc>
Sun, 1 Nov 2015 12:48:25 +0000 (13:48 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Sun, 1 Nov 2015 12:48:25 +0000 (13:48 +0100)
tests/run-tests

index ce1b0fd131edc06e68ee89e3ffdac765503c4274..45deb8ba571aa5db792a464fdbcf741e05e610af 100755 (executable)
@@ -58,6 +58,10 @@ if [ -z "$ANDROID_HOME" ]; then
     exit 1
 fi
 
+if [ -d tests ]; then
+    cd tests
+fi
+
 if [ -z "$1" ]; then
     APKDIR=`pwd`
 else