mirror of
https://github.com/game-ci/unity-test-runner.git
synced 2026-01-29 06:20:07 +08:00
Set -nographics option for avoid d3d11 initialization error
This commit is contained in:
3
dist/platforms/windows/run_tests.ps1
vendored
3
dist/platforms/windows/run_tests.ps1
vendored
@@ -111,6 +111,7 @@ foreach ( $platform in ${env:TEST_PLATFORMS}.Split(";") )
|
||||
-Wait `
|
||||
-PassThru `
|
||||
-ArgumentList "-batchmode `
|
||||
-nographics `
|
||||
-logFile $FULL_ARTIFACTS_PATH\$platform.log `
|
||||
-projectPath $UNITY_PROJECT_PATH `
|
||||
-coverageResultsPath $FULL_COVERAGE_RESULTS_PATH `
|
||||
@@ -119,7 +120,7 @@ foreach ( $platform in ${env:TEST_PLATFORMS}.Split(";") )
|
||||
-debugCodeOptimization `
|
||||
-coverageOptions ${env:COVERAGE_OPTIONS} `
|
||||
${env:CUSTOM_PARAMETERS}"
|
||||
|
||||
|
||||
# Catch exit code
|
||||
$TEST_EXIT_CODE = $TEST_OUTPUT.ExitCode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user