Linux dll tests: test turbo patch only on supported platforms

use deviceId from first entry in deviceDescriptorTable as default deviceId
correct using simplified mocs table

Change-Id: I3a6e7cd599912380d48937767f201b44ee98e391
This commit is contained in:
Mateusz Jablonski
2018-05-18 09:53:59 +02:00
committed by sys_ocldev
parent c2368739ce
commit 08faa004aa
5 changed files with 63 additions and 12 deletions

View File

@@ -73,7 +73,7 @@ TEST_F(DrmNullDeviceTests, GIVENdrmNullDeviceWHENcallGetDeviceIdTHENreturnProper
int deviceId = 0;
int ret = drmNullDevice->getDeviceID(deviceId);
EXPECT_EQ(0, ret);
EXPECT_EQ(0x1916, deviceId);
EXPECT_EQ(deviceDescriptorTable[0].deviceId, deviceId);
}
TEST_F(DrmNullDeviceTests, GIVENdrmNullDeviceWHENcallIoctlTHENalwaysSuccess) {