Skip to content

Commit

Permalink
Remove extra utr args from standalone run tests (#3541)
Browse files Browse the repository at this point in the history
  • Loading branch information
Théo Penavaire authored Feb 18, 2021
1 parent 156a971 commit c6ce445
Show file tree
Hide file tree
Showing 45 changed files with 85 additions and 150 deletions.
9 changes: 1 addition & 8 deletions .yamato/config/hdrp.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ test_platforms:
- [OSX_Metal]: --timeout=2400
- type: Standalone
name: Standalone_cache
utr_flags:
- [all]: --extra-editor-arg="-adb2"
- [all]: --extra-editor-arg="-enableCacheServer"
- [all]: --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com"
- [all]: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP"
- [all]: --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true"
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
utr_flags_build:
- [all]: --timeout=3000
- [all]: --extra-editor-arg="-adb2"
Expand Down Expand Up @@ -172,4 +165,4 @@ nightly:
build_config: mono
color_space: Linear
test_platforms:
- editmode
- editmode
11 changes: 2 additions & 9 deletions .yamato/config/hdrp_dxr.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ test_platforms:
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
- type: Standalone
name: Standalone_cache
utr_flags:
- [all]: --extra-editor-arg="-adb2"
- [all]: --extra-editor-arg="-enableCacheServer"
- [all]: --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com"
- [all]: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP"
- [all]: --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true"
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
utr_flags_build:
- [all]: --timeout=3000
- [all]: --extra-editor-arg="-adb2"
Expand All @@ -44,7 +37,7 @@ test_platforms:
- [all]: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP"
- [all]: --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true"
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
expression_trigger:
expression_trigger:
expression: ""
platforms:
- name: Win
Expand Down Expand Up @@ -78,4 +71,4 @@ nightly:
color_space: Linear
test_platforms:
- playmode_XR_cache
# - Standalone_cache
# - Standalone_cache
8 changes: 0 additions & 8 deletions .yamato/config/hdrp_hybrid.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@ test_platforms:
- [all]: --compilation-errors-as-warnings
- type: Standalone
name: Standalone_cache
utr_flags:
- [all]: --compilation-errors-as-warnings
- [all]: --extra-editor-arg="-adb2"
- [all]: --extra-editor-arg="-enableCacheServer"
- [all]: --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com"
- [all]: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP"
- [all]: --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true"
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
utr_flags_build:
- [all]: --compilation-errors-as-warnings
- [all]: --timeout=3000
Expand Down
15 changes: 4 additions & 11 deletions .yamato/config/shadergraph.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ test_platforms:
- type: editmode
- type: Standalone
name: Standalone_cache
utr_flags:
- [all]: --extra-editor-arg="-adb2"
- [all]: --extra-editor-arg="-enableCacheServer"
- [all]: --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com"
- [all]: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP"
- [all]: --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true"
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
utr_flags_build:
- [all]: --timeout=3000
- [all]: --extra-editor-arg="-adb2"
Expand All @@ -33,7 +26,7 @@ test_platforms:
- [all]: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP"
- [all]: --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true"
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
expression_trigger:
expression_trigger:
expression: 'pull_request.target eq "<TARGET_BRANCH>" AND NOT pull_request.draft AND pull_request.changes.any match ["com.unity.shadergraph/**/*", "TestProjects/ShaderGraph/**/*"] AND NOT pull_request.push.changes.all match ["*.md", "**/*.md", "doc/**/*", "**/Documentation*/**/*"]'
platforms:
- name: Win
Expand Down Expand Up @@ -80,7 +73,7 @@ platforms:
color_spaces:
- Linear
- name: Linux
apis:
apis:
- name: OpenGLCore
exclude_test_platforms:
- name: Standalone
Expand Down Expand Up @@ -133,7 +126,7 @@ pr:
build_config: mono
color_space: Linear
test_platforms:
- editmode
- editmode
- platform: Linux
api: Vulkan
build_config: mono
Expand Down Expand Up @@ -180,4 +173,4 @@ nightly:
build_config: il2cpp
color_space: Linear
test_platforms:
- Standalone_cache
- Standalone_cache
13 changes: 3 additions & 10 deletions .yamato/config/shadergraph_stereo.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ test_platforms:
- type: editmode
- type: Standalone
name: Standalone_cache
utr_flags:
- [all]: --extra-editor-arg="-adb2"
- [all]: --extra-editor-arg="-enableCacheServer"
- [all]: --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com"
- [all]: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP"
- [all]: --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true"
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
utr_flags_build:
- [all]: --timeout=3000
- [all]: --extra-editor-arg="-adb2"
Expand All @@ -23,12 +16,12 @@ test_platforms:
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
platforms:
- name: Win
apis:
apis:
build_configs:
- name: mono
color_spaces:
- Linear
expression_trigger:
expression_trigger:
expression: ""
pr:
dependencies:
Expand All @@ -42,4 +35,4 @@ pr:
nightly:
dependencies:
- project: ShaderGraph_Stereo
pr: true
pr: true
7 changes: 0 additions & 7 deletions .yamato/config/universal_hybrid.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ test_platforms:
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
- type: Standalone
name: Standalone_cache
utr_flags:
- [all]: --extra-editor-arg="-adb2"
- [all]: --extra-editor-arg="-enableCacheServer"
- [all]: --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com"
- [all]: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP"
- [all]: --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true"
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
utr_flags_build:
- [all]: --timeout=3000
- [all]: --extra-editor-arg="-adb2"
Expand Down
14 changes: 3 additions & 11 deletions .yamato/config/universal_stereo.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ test_platforms:
- type: editmode
- type: Standalone
name: Standalone_cache
utr_flags:
- [all]: compilation-errors-as-warnings
- [all]: --extra-editor-arg="-adb2"
- [all]: --extra-editor-arg="-enableCacheServer"
- [all]: --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com"
- [all]: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP"
- [all]: --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true"
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
utr_flags_build:
- [all]: compilation-errors-as-warnings
- [all]: --timeout=3000
Expand All @@ -25,11 +17,11 @@ test_platforms:
- [all]: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP"
- [all]: --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true"
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
expression_trigger:
expression_trigger:
expression: ""
platforms:
- name: Win
apis:
apis:
build_configs:
- name: mono
color_spaces:
Expand All @@ -46,4 +38,4 @@ pr:
nightly:
dependencies:
- project: Universal_Stereo
pr: true
pr: true
7 changes: 0 additions & 7 deletions .yamato/config/vfx_hdrp.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ test_platforms:
- [all]: --performance-project-version=. --report-performance-data --performance-project-id=VFX
- type: Standalone
name: Standalone_cache
utr_flags:
- [all]: --extra-editor-arg="-adb2"
- [all]: --extra-editor-arg="-enableCacheServer"
- [all]: --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com"
- [all]: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP"
- [all]: --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true"
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
utr_flags_build:
- [all]: --testfilter="VFX.Test"
- [all]: --timeout=3000
Expand Down
7 changes: 0 additions & 7 deletions .yamato/config/vfx_urp.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ test_platforms:
- [all]: --performance-project-version=. --report-performance-data --performance-project-id=VFX
- type: Standalone
name: Standalone_cache
utr_flags:
- [all]: --extra-editor-arg="-adb2"
- [all]: --extra-editor-arg="-enableCacheServer"
- [all]: --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com"
- [all]: --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP"
- [all]: --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true"
- [all]: --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true"
utr_flags_build:
- [all]: --testfilter="VFX.Test"
- [all]: --timeout=3000
Expand Down
4 changes: 2 additions & 2 deletions .yamato/hdrp-linux-vulkan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ HDRP_Linux_Vulkan_Standalone_cache_mono_Linear_trunk:
commands:
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
- chmod +x utr
- DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/HDRP_RuntimeTests/test-results --extra-editor-arg="-adb2" --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com" --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP" --extra-editor-arg="-enableCacheServer" --platform=StandaloneLinux64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200 --zero-tests-are-ok=1
- DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/HDRP_RuntimeTests/test-results --platform=StandaloneLinux64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200 --zero-tests-are-ok=1
artifacts:
logs:
paths:
Expand Down Expand Up @@ -331,7 +331,7 @@ HDRP_Linux_Vulkan_Standalone_cache_mono_Linear_CUSTOM-REVISION:
commands:
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
- chmod +x utr
- DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/HDRP_RuntimeTests/test-results --extra-editor-arg="-adb2" --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com" --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP" --extra-editor-arg="-enableCacheServer" --platform=StandaloneLinux64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200 --zero-tests-are-ok=1
- DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/HDRP_RuntimeTests/test-results --platform=StandaloneLinux64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200 --zero-tests-are-ok=1
artifacts:
logs:
paths:
Expand Down
4 changes: 2 additions & 2 deletions .yamato/hdrp-osx-metal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ HDRP_OSX_Metal_Standalone_cache_mono_Linear_trunk:
- ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --user --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade'"
- ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP '$(python3 -m site --user-base)/bin/unity-downloader-cli -u {{editor_versions.trunk_latest_internal.OSX.revision}} -c editor -c il2cpp --wait --published-only'
- |5-
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/HDRP_RuntimeTests/test-results --editor-location=.Editor --extra-editor-arg="-adb2" --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com" --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP" --extra-editor-arg="-enableCacheServer" --platform=StandaloneOSX --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/HDRP_RuntimeTests --timeout=1200 --zero-tests-are-ok=1 "
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/HDRP_RuntimeTests/test-results --editor-location=.Editor --platform=StandaloneOSX --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/HDRP_RuntimeTests --timeout=1200 --zero-tests-are-ok=1 "
UTR_RESULT=$?
mkdir -p TestProjects/HDRP_RuntimeTests/test-results/
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/HDRP_RuntimeTests/test-results/ TestProjects/HDRP_RuntimeTests/test-results/
Expand Down Expand Up @@ -354,7 +354,7 @@ HDRP_OSX_Metal_Standalone_cache_mono_Linear_CUSTOM-REVISION:
- ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --user --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade'"
- ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP '$(python3 -m site --user-base)/bin/unity-downloader-cli --source-file ~/Graphics/unity_revision.txt -c editor -c il2cpp --wait --published-only'
- |5-
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/HDRP_RuntimeTests/test-results --editor-location=.Editor --extra-editor-arg="-adb2" --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com" --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP" --extra-editor-arg="-enableCacheServer" --platform=StandaloneOSX --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/HDRP_RuntimeTests --timeout=1200 --zero-tests-are-ok=1 "
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/HDRP_RuntimeTests/test-results --editor-location=.Editor --platform=StandaloneOSX --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/HDRP_RuntimeTests --timeout=1200 --zero-tests-are-ok=1 "
UTR_RESULT=$?
mkdir -p TestProjects/HDRP_RuntimeTests/test-results/
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/HDRP_RuntimeTests/test-results/ TestProjects/HDRP_RuntimeTests/test-results/
Expand Down
4 changes: 2 additions & 2 deletions .yamato/hdrp-win-dx11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ HDRP_Win_DX11_Standalone_cache_mono_Linear_trunk:
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/HDRP_RuntimeTests/test-results --extra-editor-arg="-adb2" --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com" --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP" --extra-editor-arg="-enableCacheServer" --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200 --zero-tests-are-ok=1
utr --artifacts_path=TestProjects/HDRP_RuntimeTests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200 --zero-tests-are-ok=1
artifacts:
logs:
paths:
Expand Down Expand Up @@ -493,7 +493,7 @@ HDRP_Win_DX11_Standalone_cache_mono_Linear_CUSTOM-REVISION:
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --artifacts_path=TestProjects/HDRP_RuntimeTests/test-results --extra-editor-arg="-adb2" --extra-editor-arg="-cacheServerEnableDownload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEnableUpload" --extra-editor-arg="true" --extra-editor-arg="-cacheServerEndpoint" --extra-editor-arg="cacheserver-slo.hq.unity3d.com" --extra-editor-arg="-cacheServerNamespacePrefix" --extra-editor-arg="SRP" --extra-editor-arg="-enableCacheServer" --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200 --zero-tests-are-ok=1
utr --artifacts_path=TestProjects/HDRP_RuntimeTests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200 --zero-tests-are-ok=1
artifacts:
logs:
paths:
Expand Down
Loading

0 comments on commit c6ce445

Please sign in to comment.