Skip to content

Commit b41378c

Browse files
committed
Corrected Android syntx
1 parent 9a3efbf commit b41378c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.yamato/mobile-standalone-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ run_{{ project.name }}_tests_{{ editor }}_{{ platform.name }}:
7373

7474
# Connect to Android device and run tests
7575
- |
76-
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
77-
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
78-
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
79-
utr --suite=playmode --platform=Android --editor-location=.Editor --architecture={{ platform.architecture }} --testproject={{ project.path }} --player-load-path=build/players --artifacts_path=build/logs --scripting-backend=il2cpp --extra-editor-arg=-testCategory --extra-editor-arg=!Performance --reruncount=1 --clean-library-on-rerun --player-connection-ip=%BOKKEN_HOST_IP% --timeout=1800 --test-timeout=300 --player-connection-timeout=120
76+
export ANDROID_DEVICE_CONNECTION=${BOKKEN_DEVICE_IP}
77+
${ANDROID_SDK_ROOT}/platform-tools/adb connect ${BOKKEN_DEVICE_IP}
78+
${ANDROID_SDK_ROOT}/platform-tools/adb devices
79+
./utr --suite=playmode --platform=Android --editor-location=.Editor --architecture={{ platform.architecture }} --testproject={{ project.path }} --player-load-path=build/players --artifacts_path=build/logs --scripting-backend=il2cpp --extra-editor-arg=-testCategory --extra-editor-arg=!Performance --reruncount=1 --clean-library-on-rerun --player-connection-ip=%BOKKEN_HOST_IP% --timeout=1800 --test-timeout=300 --player-connection-timeout=120
8080
{% else %}
8181
# Download standalone UnityTestRunner
8282
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr

0 commit comments

Comments
 (0)