diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-12-07 18:33:01 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-12-07 18:33:01 +0000 |
| commit | a0eb8460a9436e368dfb8af7dffdb4811789ca4d (patch) | |
| tree | f408e19a367ea12cb4b261cbb4dba50b22fdd265 /BuildTools/Scripts | |
| parent | Fixed formatting (diff) | |
| download | DiligentCore-a0eb8460a9436e368dfb8af7dffdb4811789ca4d.tar.gz DiligentCore-a0eb8460a9436e368dfb8af7dffdb4811789ca4d.zip | |
appveyor: fixed test running command
Diffstat (limited to 'BuildTools/Scripts')
| -rw-r--r-- | BuildTools/Scripts/appveyor/run_tests.bat | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/BuildTools/Scripts/appveyor/run_tests.bat b/BuildTools/Scripts/appveyor/run_tests.bat new file mode 100644 index 00000000..fd56f267 --- /dev/null +++ b/BuildTools/Scripts/appveyor/run_tests.bat @@ -0,0 +1,28 @@ +@echo off + +set RUN_API_CORE_TEST=false +set RUN_CORE_API_D3D11_TEST=false +set set RUN_D3D12_TEST=false + +if "%PLATFORM_NAME%"=="Windows" ( + set RUN_API_CORE_TEST=true + set RUN_CORE_API_D3D11_TEST=true + set RUN_CORE_API_D3D12_TEST=true +) + +if "%PLATFORM_NAME%"=="Windows8.1" ( + set RUN_API_CORE_TEST=true + set RUN_CORE_API_D3D11_TEST=true +) + +if "%RUN_API_CORE_TEST%"=="true" ( + "%1\UnitTests\DiligentCoreTest\%CONFIGURATION%\DiligentCoreTest.exe" +) + +if "%RUN_CORE_API_D3D11_TEST%"=="true" ( + "%1\UnitTests\DiligentCoreAPITest\%CONFIGURATION%\DiligentCoreAPITest.exe" --mode=d3d11_sw +) + +if "%RUN_CORE_API_D3D12_TEST%"=="true" ( + "%1\UnitTests\DiligentCoreAPITest\%CONFIGURATION%\DiligentCoreAPITest.exe" --mode=d3d12_sw +) |
