summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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"