Skip to content

Commit b497594

Browse files
committed
fix cmb script
1 parent ff231b0 commit b497594

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.yamato/cmb-service-standalone-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ cmb_service_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}
5656
# run_cmb_service.sh builds and starts a release version of the full CMB service (along with the limited echo server)
5757
- ./Tools/CI/service.cmb/run_cmb_service.sh -e $ECHO_SERVER_PORT -s $CMB_SERVICE_PORT
5858

59-
- unity-downloader-cli --fast --wait -u {{ editor }} -c Editor {% if backend == "il2cpp" %} -c il2cpp {% endif %} {% if platform.name == "mac" %} --arch arm64 {% endif %} # For macOS we use ARM64 models
60-
- UnifiedTestRunner --suite=playmode --player-load-path=build/players --artifacts-path=test-results --testproject={{ project.path }} --editor-location=.Editor --playergraphicsapi=Null --fail-on-assert --rerun-strategy=Test --retry={{ num_test_retries }} --clean-library-on-rerun --timeout={{ test_timeout }}
59+
# - unity-downloader-cli --fast --wait -u {{ editor }} -c Editor {% if backend == "il2cpp" %} -c il2cpp {% endif %} {% if platform.name == "mac" %} --arch arm64 {% endif %} # For macOS we use ARM64 models
60+
# - UnifiedTestRunner --suite=playmode --player-load-path=build/players --artifacts-path=test-results --testproject={{ project.path }} --editor-location=.Editor --playergraphicsapi=Null --fail-on-assert --rerun-strategy=Test --retry={{ num_test_retries }} --clean-library-on-rerun --timeout={{ test_timeout }}
6161
artifacts:
6262
logs:
6363
paths:

Tools/CI/service.cmb/run_cmb_service.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,10 @@ else
105105
echo "TestResults File missing"
106106
fi
107107

108-
unity_version=sed -n 's/.*"editorVersion": *"\([^" (]*\).*/\1/p' artifacts/TestResults.js
108+
echo "$(<$FILE)"
109+
110+
111+
unity_version=sed -n 's/.*"editorVersion": *"\([^" (]*\).*/\1/p' $FILE
109112

110113
# ensure arguments were passed and the ports are defined
111114
if [ -z "$unity_version" ]; then

0 commit comments

Comments
 (0)