Skip to content

Commit

Permalink
Update test script to use the default build variant
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-mullvad committed Sep 21, 2023
1 parent b4f9f71 commit ed656a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/scripts/run-instrumented-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit ed656a4

Please sign in to comment.