Add script for running tests without the Android SDK installed

I've tried to find a better way to do this by conditionally including
the briar-android project in settings.gradle, but failed.
Please note that gradle needs to be installed to run the tests by
executing:

    gradle test
This commit is contained in:
Torsten Grote
2016-01-13 12:51:23 -02:00
committed by akwizgran
parent 425c65a75a
commit b956c761bf

4
run-tests-without-android.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
sed -i "s@include ':briar-android'@//include ':briar-android'@" settings.gradle
gradle test
sed -i "s@//include ':briar-android'@include ':briar-android'@" settings.gradle