summaryrefslogtreecommitdiffhomepage
path: root/android/scripts
diff options
context:
space:
mode:
authorDavid Göransson <david.goransson90@gmail.com>2023-10-17 16:04:06 +0200
committerJonatan Rhodin <jonatan.rhodin@mullvad.net>2023-10-18 12:05:23 +0200
commitb6308af353282d72e2a542b2811feb8902923c80 (patch)
tree8f4b3743a72abd54b688a57174b15d1ef570204c /android/scripts
parent85bb4b194ea64cc076a1f2593ed99d92aa6b2abf (diff)
downloadmullvadvpn-b6308af353282d72e2a542b2811feb8902923c80.tar.xz
mullvadvpn-b6308af353282d72e2a542b2811feb8902923c80.zip
Add small script to run instrumented tests locally
Diffstat (limited to 'android/scripts')
-rwxr-xr-xandroid/scripts/run-instrumented-tests-locally.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/android/scripts/run-instrumented-tests-locally.sh b/android/scripts/run-instrumented-tests-locally.sh
new file mode 100755
index 0000000000..359c648d30
--- /dev/null
+++ b/android/scripts/run-instrumented-tests-locally.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+set -eu
+
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+
+cd $SCRIPT_DIR/..
+./gradlew assembleOssProdAndroidTest
+./gradlew app:assembleOssProdDebug
+$SCRIPT_DIR/run-instrumented-tests.sh app