diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-02-17 20:58:17 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-02-17 20:58:17 +0000 |
| commit | ec3e81b7a7be77836ac52dc6168aa5ac4c498217 (patch) | |
| tree | 6feacc63f6f2cfa51463831a1ea7399f8de9be81 /Tests/TestApp/src/ShaderConverterTest.cpp | |
| parent | Fixed few compiler warnings (diff) | |
| download | DiligentEngine-ec3e81b7a7be77836ac52dc6168aa5ac4c498217.tar.gz DiligentEngine-ec3e81b7a7be77836ac52dc6168aa5ac4c498217.zip | |
Added test result reporting
Diffstat (limited to 'Tests/TestApp/src/ShaderConverterTest.cpp')
| -rw-r--r-- | Tests/TestApp/src/ShaderConverterTest.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/TestApp/src/ShaderConverterTest.cpp b/Tests/TestApp/src/ShaderConverterTest.cpp index a18229b..51dcfa3 100644 --- a/Tests/TestApp/src/ShaderConverterTest.cpp +++ b/Tests/TestApp/src/ShaderConverterTest.cpp @@ -35,7 +35,8 @@ using namespace Diligent; -ShaderConverterTest::ShaderConverterTest( IRenderDevice *pRenderDevice, IDeviceContext *pContext ) +ShaderConverterTest::ShaderConverterTest( IRenderDevice *pRenderDevice, IDeviceContext *pContext ) : + UnitTestBase("Shader Converter Test") { ShaderCreationAttribs CreationAttrs; CreationAttrs.FilePath = "Shaders\\ConverterTest.fx"; @@ -62,6 +63,7 @@ ShaderConverterTest::ShaderConverterTest( IRenderDevice *pRenderDevice, IDeviceC VERIFY_EXPR( pShader ); } + std::string status; if(pRenderDevice->GetDeviceCaps().bComputeShadersSupported) { CreationAttrs.FilePath = "Shaders\\CSConversionTest.fx"; @@ -70,5 +72,7 @@ ShaderConverterTest::ShaderConverterTest( IRenderDevice *pRenderDevice, IDeviceC RefCntAutoPtr<IShader> pShader; //pRenderDevice->CreateShader( CreationAttrs, &pShader ); //VERIFY_EXPR( pShader ); + status = "Skipped compute shader conversion test"; } + SetStatus(TestResult::Succeeded, status.c_str()); } |
