Set -nographics option for avoid d3d11 initialization error

fix/windows-runner-dist-644
Sokuhatiku 2024-01-07 01:54:11 +09:00
parent 3e4f69fa9e
commit b19f319cde
1 changed files with 2 additions and 1 deletions

View File

@ -111,6 +111,7 @@ foreach ( $platform in ${env:TEST_PLATFORMS}.Split(";") )
-Wait ` -Wait `
-PassThru ` -PassThru `
-ArgumentList "-batchmode ` -ArgumentList "-batchmode `
-nographics `
-logFile $FULL_ARTIFACTS_PATH\$platform.log ` -logFile $FULL_ARTIFACTS_PATH\$platform.log `
-projectPath $UNITY_PROJECT_PATH ` -projectPath $UNITY_PROJECT_PATH `
-coverageResultsPath $FULL_COVERAGE_RESULTS_PATH ` -coverageResultsPath $FULL_COVERAGE_RESULTS_PATH `
@ -119,7 +120,7 @@ foreach ( $platform in ${env:TEST_PLATFORMS}.Split(";") )
-debugCodeOptimization ` -debugCodeOptimization `
-coverageOptions ${env:COVERAGE_OPTIONS} ` -coverageOptions ${env:COVERAGE_OPTIONS} `
${env:CUSTOM_PARAMETERS}" ${env:CUSTOM_PARAMETERS}"
# Catch exit code # Catch exit code
$TEST_EXIT_CODE = $TEST_OUTPUT.ExitCode $TEST_EXIT_CODE = $TEST_OUTPUT.ExitCode