Skip to content

Commit 6b0e070

Browse files
committed
maybe UMF_UTIL_OPEN_LIBRARY_NO_LOAD was wrong?
1 parent 877a36e commit 6b0e070

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/common/level_zero_mocks.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ void MockedLevelZeroTestEnvironment::SetUp() {
101101
setenv("UMF_ZE_LOADER_LIB_NAME", lib_name, 1);
102102
#endif
103103

104-
void *lib_handle =
105-
utils_open_library(lib_name, UMF_UTIL_OPEN_LIBRARY_NO_LOAD);
104+
void *lib_handle = utils_open_library(lib_name, 0);
106105
ASSERT_NE(lib_handle, nullptr);
107106

108107
l0interface = static_cast<LevelZero **>(

0 commit comments

Comments
 (0)