summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-01-23 08:24:17 +0100
committerAlbin <albin@mullvad.net>2023-01-23 08:24:27 +0100
commit577d0de94faee2d38d8a86505d719443ffe073e5 (patch)
tree26d2b01dc60d7a3c23ee09a1454ba9175b9a7745
parentcd940393b9020f470033a1819d8f10c4c9226353 (diff)
downloadmullvadvpn-577d0de94faee2d38d8a86505d719443ffe073e5.tar.xz
mullvadvpn-577d0de94faee2d38d8a86505d719443ffe073e5.zip
Clean up instrumentation logs
-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"