summaryrefslogtreecommitdiffhomepage
path: root/android/scripts
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-02-02 11:26:21 +0100
committerAlbin <albin@mullvad.net>2023-02-02 11:26:21 +0100
commit31c4ff2cc21cd6656f179ea4b261b007f7000cfe (patch)
tree04716f14287e12dc6e90529fcc7ab72ce859a0d3 /android/scripts
parent423d3e7ae0f6a54a6ea4506df4ea9ad2df9b6eab (diff)
parentebc182333bef909b0d7fe4ce3e85a41c14638bdc (diff)
downloadmullvadvpn-31c4ff2cc21cd6656f179ea4b261b007f7000cfe.tar.xz
mullvadvpn-31c4ff2cc21cd6656f179ea4b261b007f7000cfe.zip
Merge branch 'fix-device-state-timing-issue'
Diffstat (limited to 'android/scripts')
-rwxr-xr-xandroid/scripts/run-instrumented-tests-repeat.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/android/scripts/run-instrumented-tests-repeat.sh b/android/scripts/run-instrumented-tests-repeat.sh
new file mode 100755
index 0000000000..146cbf3d05
--- /dev/null
+++ b/android/scripts/run-instrumented-tests-repeat.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+
+set -eu
+
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+cd "$SCRIPT_DIR"
+
+TEST_TYPE=$1
+REPEAT_COUNT=$2
+
+for ((i=1; i <= REPEAT_COUNT; i++))
+do
+ echo "### Run $i ###"
+ ./run-instrumented-tests.sh "$TEST_TYPE"
+done