Skip to content

Commit b0b2f2f

Browse files
test: add test for dg1 specific ioctl helper
Signed-off-by: Mateusz Jablonski <[email protected]>
1 parent 47ed553 commit b0b2f2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

shared/test/unit_test/os_interface/linux/ioctl_helper_tests_dg1.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ using namespace NEO;
2020

2121
using IoctlHelperTestsDg1 = ::testing::Test;
2222

23+
DG1TEST_F(IoctlHelperTestsDg1, givenDg1WhenSetupIoctlHelperThenDg1SpecificHelperIsAvailable) {
24+
EXPECT_TRUE(ioctlHelperFactory[IGFX_DG1].has_value());
25+
}
26+
2327
DG1TEST_F(IoctlHelperTestsDg1, givenDg1WhenCreateGemExtThenReturnCorrectValue) {
2428
auto executionEnvironment = std::make_unique<MockExecutionEnvironment>();
2529
auto drm = std::make_unique<DrmTipMock>(*executionEnvironment->rootDeviceEnvironments[0]);

0 commit comments

Comments
 (0)