Keep platform types in a list

Related-To: NEO-3503

Change-Id: I7216d7a5088b0a18aebdedc386208ec398bae5ef
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2019-07-24 11:43:29 +02:00
committed by sys_ocldev
parent acfdb0fc9d
commit 55a1ddab39
20 changed files with 25 additions and 26 deletions

View File

@@ -229,16 +229,16 @@ HWTEST_F(PipeControlHelperTests, givenPostSyncWriteImmediateDataModeWhenHelperIs
EXPECT_TRUE(memcmp(pipeControl, &expectedPipeControl, sizeof(PIPE_CONTROL)) == 0);
}
TEST(HwInfoTest, givenHwInfoWhenIsCoreThenPlatformTypeIsCore) {
TEST(HwInfoTest, givenHwInfoWhenPlatformTypeIsCoreThenPlatformTypeIsCore) {
HardwareInfo hwInfo;
hwInfo.capabilityTable.isCore = true;
hwInfo.capabilityTable.platformType = "core";
auto platformType = getPlatformType(hwInfo);
EXPECT_STREQ("core", platformType);
}
TEST(HwInfoTest, givenHwInfoWhenIsNotCoreThenPlatformTypeIsLp) {
TEST(HwInfoTest, givenHwInfoWhenlatformTypeIsLpThenPlatformTypeIsLp) {
HardwareInfo hwInfo;
hwInfo.capabilityTable.isCore = false;
hwInfo.capabilityTable.platformType = "lp";
auto platformType = getPlatformType(hwInfo);
EXPECT_STREQ("lp", platformType);
}