message: Updated run_tests.bat to return the error code of the last failing test
diff: @@ -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
  