Skip to content

Commit 9224bc4

Browse files
authored
Update run_tests.sh
1 parent 3b4281d commit 9224bc4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dist/platforms/ubuntu/run_tests.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ for platform in ${TEST_PLATFORMS//;/ }; do
196196
echo ""
197197

198198
if [[ "$platform" == "customstandalone" ]]; then
199-
runTests="-executeMethod TestModule.RunTestsByScript"
199+
runTests="--run-tests"
200200
else
201-
runTests="-quit"
201+
runTests="-executeMethod TestModule.RunTestsByScript"
202202
fi
203203

204204

@@ -207,6 +207,8 @@ for platform in ${TEST_PLATFORMS//;/ }; do
207207
# Code Coverage currently only supports code ran in the Editor and not in Standalone/Player.
208208
# https://docs.unity3d.com/Packages/com.unity.testtools.codecoverage@1.2/manual/TechnicalDetails.html#how-it-works
209209

210+
211+
210212
xvfb-run -a -e /dev/stdout "$CUSTOM_BUILD_PATH/$BUILD_NAME" \
211213
-batchmode \
212214
-nographics \

0 commit comments

Comments
 (0)