File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -71,16 +71,16 @@ run_{{ project.name }}_tests_{{ editor }}_{{ platform.name }}:
7171 # Download standalone UnityTestRunner
7272 - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
7373
74- # Connect to Android device
74+ # 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- # Run the tests on the device
80- 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+ 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
8180{% else %}
8281 # Download standalone UnityTestRunner
8382 - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr
83+ # Run tests
8484 - ./utr -artifacts_path=artifacts --testproject={{ project.path }} --editor-location=.Editor --reruncount=1 --suite=playmode --platform=iOS --player-load-path=build/players --architecture={{ platform.architecture }} --scripting-backend=il2cpp --extra-editor-arg=-testCategory --extra-editor-arg=!Performance --clean-library-on-rerun --player-connection-ip=%BOKKEN_HOST_IP% --timeout=1800 --test-timeout=300 --player-connection-timeout=120
8585{% endif %}
8686 artifacts :
You can’t perform that action at this time.
0 commit comments