diff options
Diffstat (limited to 'BuildTools/Scripts')
| -rw-r--r-- | BuildTools/Scripts/appveyor/run_tests.bat | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/BuildTools/Scripts/appveyor/run_tests.bat b/BuildTools/Scripts/appveyor/run_tests.bat index 3a23fd7a..dfff8ced 100644 --- a/BuildTools/Scripts/appveyor/run_tests.bat +++ b/BuildTools/Scripts/appveyor/run_tests.bat @@ -17,15 +17,24 @@ if "%PLATFORM_NAME%"=="Windows8.1" ( ) if "%RUN_API_CORE_TEST%"=="true" ( - "%1\UnitTests\DiligentCoreTest\%CONFIGURATION%\DiligentCoreTest.exe" || set ERROR=%ERRORLEVEL% + "%1\UnitTests\DiligentCoreTest\%CONFIGURATION%\DiligentCoreTest.exe" + if %ERRORLEVEL% NEQ 0 ( + set ERROR=%ERRORLEVEL% + ) ) if "%RUN_CORE_API_D3D11_TEST%"=="true" ( - "%1\UnitTests\DiligentCoreAPITest\%CONFIGURATION%\DiligentCoreAPITest.exe" --mode=d3d11_sw || set ERROR=%ERRORLEVEL% + "%1\UnitTests\DiligentCoreAPITest\%CONFIGURATION%\DiligentCoreAPITest.exe" --mode=d3d11_sw + if %ERRORLEVEL% NEQ 0 ( + set ERROR=%ERRORLEVEL% + ) ) if "%RUN_CORE_API_D3D12_TEST%"=="true" ( - "%1\UnitTests\DiligentCoreAPITest\%CONFIGURATION%\DiligentCoreAPITest.exe" --mode=d3d12_sw || set ERROR=%ERRORLEVEL% + "%1\UnitTests\DiligentCoreAPITest\%CONFIGURATION%\DiligentCoreAPITest.exe" --mode=d3d12_sw + if %ERRORLEVEL% NEQ 0 ( + set ERROR=%ERRORLEVEL% + ) ) exit /B %ERROR% REM use /B to exit the current batch script context, and not the command prompt process |
