summaryrefslogtreecommitdiffhomepage
path: root/android/scripts
diff options
context:
space:
mode:
authorDavid Göransson <david.goransson@mullvad.net>2025-05-09 15:19:44 +0200
committerDavid Göransson <david.goransson@mullvad.net>2025-05-09 15:59:28 +0200
commit26ccae0a56bcd4c30a2f676b8cc00d892ccd5c94 (patch)
tree4c9a8da158439f397fdc83a422ba222b87a67a79 /android/scripts
parent4bae6cb309a77eb7ba01c32bdb945dad298d877f (diff)
downloadmullvadvpn-26ccae0a56bcd4c30a2f676b8cc00d892ccd5c94.tar.xz
mullvadvpn-26ccae0a56bcd4c30a2f676b8cc00d892ccd5c94.zip
Fix regex for single test
When only 1 test is being run, the string will be "test" instead of tests causing the regex match to fail.
Diffstat (limited to 'android/scripts')
-rwxr-xr-xandroid/scripts/run-instrumented-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/scripts/run-instrumented-tests.sh b/android/scripts/run-instrumented-tests.sh
index 9ca30fc615..7606a2c634 100755
--- a/android/scripts/run-instrumented-tests.sh
+++ b/android/scripts/run-instrumented-tests.sh
@@ -8,7 +8,7 @@ cd "$SCRIPT_DIR"
AUTO_FETCH_TEST_HELPER_APKS=${AUTO_FETCH_TEST_HELPER_APKS:-"false"}
APK_BASE_DIR=${APK_BASE_DIR:-"$SCRIPT_DIR/.."}
-LOG_SUCCESS_REGEX="OK \([1-9][0-9]* tests\)"
+LOG_SUCCESS_REGEX="OK \([1-9][0-9]* (test|tests)\)"
ORCHESTRATOR_URL=https://dl.google.com/android/maven2/androidx/test/orchestrator/1.5.1/orchestrator-1.5.1.apk
TEST_SERVICES_URL=https://dl.google.com/android/maven2/androidx/test/services/test-services/1.5.0/test-services-1.5.0.apk