We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c99886b commit d0522a0Copy full SHA for d0522a0
conformance_tests/sysman/test_sysman_init/src/test_init.cpp
@@ -45,7 +45,7 @@ TEST(SysmanInitTests,
45
TEST(SysmanInitTests,
46
GivenCoreNotInitializedWhenSysmanInitializedThenzesDriverGetWorks) {
47
ASSERT_EQ(ZE_RESULT_SUCCESS, zesInit(0));
48
- uint32_t pCount;
+ uint32_t pCount = 0;
49
ASSERT_EQ(ZE_RESULT_SUCCESS, zesDriverGet(&pCount, nullptr));
50
ASSERT_GT(pCount, 0);
51
}
@@ -55,7 +55,7 @@ TEST(SysmanInitTests,
55
static char sys_env[] = "ZES_ENABLE_SYSMAN=1";
56
putenv(sys_env);
57
ASSERT_EQ(ZE_RESULT_SUCCESS, zeInit(0));
58
59
60
61
0 commit comments