Skip to content

Commit b37b2b0

Browse files
committed
Removing unnecessary commands from desktop and console standalone tests
1 parent 6b2f885 commit b37b2b0

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.yamato/console-standalone-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ run_{{ project.name }}_tests_{{ platform.name }}_{{ editor }}:
7676
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
7777

7878
# Platform specific Execution
79-
- utr --testproject={{ project.path }} architecture={% if platform.name == "switch" %}arm64{% else %}x64{% endif %} --editor-location=.Editor --suite=playmode --scripting-backend=il2cpp --platform={{ platform.standalone }} --artifacts_path=build/logs --player-load-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --testCategory=!Performance --testfilter=Unity.Netcode.RuntimeTests --reruncount=1 --clean-library-on-rerun
79+
- utr --suite=playmode --artifacts_path=build/logs --player-load-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --testCategory=!Performance --testfilter=Unity.Netcode.RuntimeTests --reruncount=1 --clean-library-on-rerun
8080

8181
variables:
8282
# PS4 related

.yamato/desktop-standalone-tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ desktop_standalone_tests_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
2323
- sudo apt-get update -q
2424
- sudo apt install -qy imagemagick
2525
{% endif %}
26-
- npm install -g upm-ci-utils@stable --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
2726
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
2827

2928
# Platform specific UTR setup
@@ -48,16 +47,16 @@ desktop_standalone_tests_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
4847
# Run Standalone tests
4948
- |
5049
{% if platform.name == "win" %}
51-
utr.bat --suite=playmode --platform={{ platform.standalone }} --scripting-backend={{ backend }} --player-load-path=build/players --artifacts_path=build/test-results --testfilter=Unity.Netcode.RuntimeTests --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
50+
utr.bat --suite=playmode --player-load-path=build/players --artifacts_path=build/test-results --testfilter=Unity.Netcode.RuntimeTests --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
5251
{% else %}
53-
./utr --suite=playmode --platform={{ platform.standalone }} --scripting-backend={{ backend }} --player-load-path=build/players --artifacts_path=build/test-results --testfilter=Unity.Netcode.RuntimeTests --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
52+
./utr --suite=playmode --player-load-path=build/players --artifacts_path=build/test-results --testfilter=Unity.Netcode.RuntimeTests --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
5453
{% endif %}
5554

5655
artifacts:
5756
logs:
5857
paths:
59-
- "upm-ci~/test-results/**/*"
60-
- "build/test-results/**"
58+
- artifacts/**/*
59+
- build/test-results/**
6160
dependencies:
6261
- .yamato/project-pack.yml#project_pack_-_{{ project.name }}
6362
{% endfor -%}

0 commit comments

Comments
 (0)