diff --git a/level_zero/tools/source/sysman/linux/fs_access.h b/level_zero/tools/source/sysman/linux/fs_access.h index a6431bb983..badfb99f53 100644 --- a/level_zero/tools/source/sysman/linux/fs_access.h +++ b/level_zero/tools/source/sysman/linux/fs_access.h @@ -105,7 +105,7 @@ class SysfsAccess : protected FsAccess { ze_result_t write(const std::string file, std::vector val); MOCKABLE_VIRTUAL ze_result_t scanDirEntries(const std::string path, std::vector &list); - ze_result_t readSymLink(const std::string path, std::string &buf) override; + MOCKABLE_VIRTUAL ze_result_t readSymLink(const std::string path, std::string &buf) override; ze_result_t getRealPath(const std::string path, std::string &buf) override; MOCKABLE_VIRTUAL ze_result_t bindDevice(const std::string device); MOCKABLE_VIRTUAL ze_result_t unbindDevice(const std::string device); diff --git a/level_zero/tools/test/unit_tests/sources/sysman/ras/linux/CMakeLists.txt b/level_zero/tools/test/unit_tests/sources/sysman/ras/linux/CMakeLists.txt index 4538671cf3..89bfefa155 100644 --- a/level_zero/tools/test/unit_tests/sources/sysman/ras/linux/CMakeLists.txt +++ b/level_zero/tools/test/unit_tests/sources/sysman/ras/linux/CMakeLists.txt @@ -12,4 +12,5 @@ if(UNIX) ${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}mock_fs_ras.h ) endif() +add_subdirectories()