move drm_mock to shared

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
Artur Harasimiuk
2021-09-24 01:16:09 +00:00
committed by Compute-Runtime-Automation
parent 0e58821455
commit 0b4bc865d3
35 changed files with 52 additions and 51 deletions

View File

@ -9,9 +9,10 @@
#include "shared/source/os_interface/os_interface.h"
#include "shared/test/common/helpers/default_hw_info.h"
#include "shared/test/common/helpers/variable_backup.h"
#include "shared/test/common/libult/linux/drm_mock.h"
#include "shared/test/common/mocks/mock_execution_environment.h"
#include "opencl/test/unit_test/os_interface/linux/drm_mock.h"
#include "opencl/test/unit_test/linux/mock_os_layer.h"
#include "test.h"
namespace NEO {

View File

@ -64,4 +64,4 @@ TEST(VaTests, givenVADeviceWhenGetDeviceFromVAIsCalledThenProperSyscallsAreUsed)
EXPECT_EQ(accessCalledTimes, 1);
EXPECT_EQ(readLinkCalledTimes, 1);
EXPECT_EQ(fstatCalledTimes, 1);
}
}