From b19f319cde843062282a6d505eb60ef934a67161 Mon Sep 17 00:00:00 2001 From: Sokuhatiku Date: Sun, 7 Jan 2024 01:54:11 +0900 Subject: [PATCH] Set -nographics option for avoid d3d11 initialization error --- dist/platforms/windows/run_tests.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/platforms/windows/run_tests.ps1 b/dist/platforms/windows/run_tests.ps1 index 8fb5a53..0542e08 100644 --- a/dist/platforms/windows/run_tests.ps1 +++ b/dist/platforms/windows/run_tests.ps1 @@ -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