summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-01-23 09:15:31 +0100
committerAlbin <albin@mullvad.net>2023-01-23 09:15:31 +0100
commit55641479e0fbee227f12b6ef7d32df455d8f69e1 (patch)
treef45807d1f010b6915bec5453c64c31e37d611e79 /android
parentcd940393b9020f470033a1819d8f10c4c9226353 (diff)
parent6e1612c21b22c8c1a8204c53d3f916c4f3064b8e (diff)
downloadmullvadvpn-55641479e0fbee227f12b6ef7d32df455d8f69e1.tar.xz
mullvadvpn-55641479e0fbee227f12b6ef7d32df455d8f69e1.zip
Merge branch 'switch-to-self-hosted-runner-for-android-tests'
Diffstat (limited to 'android')
-rwxr-xr-xandroid/scripts/run-instrumented-tests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/scripts/run-instrumented-tests.sh b/android/scripts/run-instrumented-tests.sh
index 27eb8a9be8..461a9e9d59 100755
--- a/android/scripts/run-instrumented-tests.sh
+++ b/android/scripts/run-instrumented-tests.sh
@@ -69,6 +69,9 @@ LOG_FILE_PATH="/tmp/$LOG_FILE_NAME"
echo "Starting instrumented tests of type: $TEST_TYPE"
echo ""
+echo "### Clean up previous logs ###"
+rm "$LOG_FILE_PATH"
+
echo "### Ensure that packages are not previously installed ###"
adb uninstall net.mullvad.mullvadvpn || echo "App package not installed"
adb uninstall "$TEST_PACKAGE" || echo "Test package not installed"