summaryrefslogtreecommitdiffhomepage
path: root/android/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'android/scripts')
-rwxr-xr-xandroid/scripts/run-instrumented-tests.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/scripts/run-instrumented-tests.sh b/android/scripts/run-instrumented-tests.sh
index 5c6ace121b..3d25480854 100755
--- a/android/scripts/run-instrumented-tests.sh
+++ b/android/scripts/run-instrumented-tests.sh
@@ -122,11 +122,13 @@ if [[ "$USE_ORCHESTRATOR" == "true" ]]; then
am instrument -r -w \
-e targetInstrumentation $TEST_PACKAGE/androidx.test.runner.AndroidJUnitRunner \
-e clearPackageData true \
+ -e runnerBuilder de.mannodermaus.junit5.AndroidJUnit5Builder \
${OPTIONAL_TEST_ARGUMENTS:-""} \
androidx.test.orchestrator/androidx.test.orchestrator.AndroidTestOrchestrator"
else
INSTRUMENTATION_COMMAND="\
am instrument -w \
+ -e runnerBuilder de.mannodermaus.junit5.AndroidJUnit5Builder \
$TEST_PACKAGE/androidx.test.runner.AndroidJUnitRunner"
fi
adb shell "$INSTRUMENTATION_COMMAND" | tee "$INSTRUMENTATION_LOG_FILE_PATH"