From b956c761bf0e60234d704d8d6d2267dbab1fbaa6 Mon Sep 17 00:00:00 2001 From: Torsten Grote <t@grobox.de> Date: Wed, 13 Jan 2016 12:51:23 -0200 Subject: [PATCH] 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 --- run-tests-without-android.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 run-tests-without-android.sh diff --git a/run-tests-without-android.sh b/run-tests-without-android.sh new file mode 100755 index 0000000000..d9c7bf4150 --- /dev/null +++ b/run-tests-without-android.sh @@ -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 -- GitLab