summaryrefslogtreecommitdiffstats
path: root/BuildTools/Scripts
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-12-09 01:01:41 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-12-09 01:01:41 +0000
commitdefd6de7b59bfa546dc52f3136333eaa8844b2d1 (patch)
tree19325010032036dae276223de69491b3e99e9808 /BuildTools/Scripts
parentUpdated run_tests.bat to return the error code of the last failing test (diff)
downloadDiligentCore-defd6de7b59bfa546dc52f3136333eaa8844b2d1.tar.gz
DiligentCore-defd6de7b59bfa546dc52f3136333eaa8844b2d1.zip
Added Shader Resource Array test
Diffstat (limited to 'BuildTools/Scripts')
-rw-r--r--BuildTools/Scripts/appveyor/run_tests.bat18
1 files changed, 9 insertions, 9 deletions
diff --git a/BuildTools/Scripts/appveyor/run_tests.bat b/BuildTools/Scripts/appveyor/run_tests.bat
index dfff8ced..2d4219ab 100644
--- a/BuildTools/Scripts/appveyor/run_tests.bat
+++ b/BuildTools/Scripts/appveyor/run_tests.bat
@@ -18,23 +18,23 @@ if "%PLATFORM_NAME%"=="Windows8.1" (
if "%RUN_API_CORE_TEST%"=="true" (
"%1\UnitTests\DiligentCoreTest\%CONFIGURATION%\DiligentCoreTest.exe"
- if %ERRORLEVEL% NEQ 0 (
- set ERROR=%ERRORLEVEL%
- )
+ if %ERRORLEVEL% NEQ 0 (
+ set ERROR=%ERRORLEVEL%
+ )
)
if "%RUN_CORE_API_D3D11_TEST%"=="true" (
"%1\UnitTests\DiligentCoreAPITest\%CONFIGURATION%\DiligentCoreAPITest.exe" --mode=d3d11_sw
- if %ERRORLEVEL% NEQ 0 (
- set ERROR=%ERRORLEVEL%
- )
+ if %ERRORLEVEL% NEQ 0 (
+ set ERROR=%ERRORLEVEL%
+ )
)
if "%RUN_CORE_API_D3D12_TEST%"=="true" (
"%1\UnitTests\DiligentCoreAPITest\%CONFIGURATION%\DiligentCoreAPITest.exe" --mode=d3d12_sw
- if %ERRORLEVEL% NEQ 0 (
- set ERROR=%ERRORLEVEL%
- )
+ 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