From ed656a4dd3a534aa87fbd2668acdbbb964e00097 Mon Sep 17 00:00:00 2001 From: Albin Date: Thu, 21 Sep 2023 09:17:55 +0200 Subject: [PATCH] Update test script to use the default build variant --- android/scripts/run-instrumented-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/scripts/run-instrumented-tests.sh b/android/scripts/run-instrumented-tests.sh index 5e855ca242e1..5c6ace121b97 100755 --- a/android/scripts/run-instrumented-tests.sh +++ b/android/scripts/run-instrumented-tests.sh @@ -20,7 +20,7 @@ while [[ "$#" -gt 0 ]]; do TEST_TYPE="app" USE_ORCHESTRATOR="false" TEST_PACKAGE="net.mullvad.mullvadvpn.test" - TEST_APK="$APK_BASE_DIR/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk" + TEST_APK="$APK_BASE_DIR/app/build/outputs/apk/androidTest/ossProd/debug/app-oss-prod-debug-androidTest.apk" ;; e2e) TEST_TYPE="e2e" @@ -105,7 +105,7 @@ echo "Starting instrumented tests of type: $TEST_TYPE" echo "" echo "### Install packages ###" -adb install -t "$APK_BASE_DIR/app/build/outputs/apk/debug/app-debug.apk" +adb install -t "$APK_BASE_DIR/app/build/outputs/apk/ossProd/debug/app-oss-prod-debug.apk" adb install "$TEST_APK" if [[ "$USE_ORCHESTRATOR" == "true" ]]; then echo "Using ORCHESTRATOR_APK_PATH: $ORCHESTRATOR_APK_PATH"