Skip to content

Commit 83e3565

Browse files
authored
Execution Tests: change warning to error (microsoft#8116)
Previously, this was a warning while we convinced ourselves that an error wouldn't break anything. Fixes microsoft#7958
1 parent c37da0b commit 83e3565

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/clang/unittests/HLSLExec/HlslExecTestUtils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ static bool createDevice(
8484

8585
) {
8686
if (*D3DDevice)
87-
LogWarningFmt(L"createDevice called with non-null *D3DDevice - "
88-
L"this will likely leak the previous device");
87+
LogErrorFmt(L"createDevice called with non-null *D3DDevice - "
88+
L"this will likely leak the previous device");
8989
if (TestModel > D3D_HIGHEST_SHADER_MODEL) {
9090
const UINT Minor = (UINT)TestModel & 0x0f;
9191
LogCommentFmt(L"Installed SDK does not support "

0 commit comments

Comments
 (0)