Change EXPECT_TRUE to EXPECT_EQ

Change-Id: I44a6b8318ed3188138287d9571eb2784d073978b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2019-05-10 15:34:53 +02:00
committed by sys_ocldev
parent 3da9aebf7d
commit 95bd4bae67
2 changed files with 7 additions and 7 deletions

View File

@@ -848,12 +848,12 @@ TEST_F(CompilerInterfaceTest, givenNoDbgKeyForceUseDifferentPlatformWhenRequestF
IGC::IgcOclDeviceCtxTagOCL *devCtx = pCompilerInterface->peekIgcDeviceCtx(device);
auto igcPlatform = devCtx->GetPlatformHandle();
auto igcSysInfo = devCtx->GetGTSystemInfoHandle();
EXPECT_TRUE(device->getHardwareInfo().platform.eProductFamily == igcPlatform->GetProductFamily());
EXPECT_TRUE(device->getHardwareInfo().platform.eRenderCoreFamily == igcPlatform->GetRenderCoreFamily());
EXPECT_TRUE(device->getHardwareInfo().gtSystemInfo.SliceCount == igcSysInfo->GetSliceCount());
EXPECT_TRUE(device->getHardwareInfo().gtSystemInfo.SubSliceCount == igcSysInfo->GetSubSliceCount());
EXPECT_TRUE(device->getHardwareInfo().gtSystemInfo.EUCount == igcSysInfo->GetEUCount());
EXPECT_TRUE(device->getHardwareInfo().gtSystemInfo.ThreadCount == igcSysInfo->GetThreadCount());
EXPECT_EQ(device->getHardwareInfo().platform.eProductFamily, igcPlatform->GetProductFamily());
EXPECT_EQ(device->getHardwareInfo().platform.eRenderCoreFamily, igcPlatform->GetRenderCoreFamily());
EXPECT_EQ(device->getHardwareInfo().gtSystemInfo.SliceCount, igcSysInfo->GetSliceCount());
EXPECT_EQ(device->getHardwareInfo().gtSystemInfo.SubSliceCount, igcSysInfo->GetSubSliceCount());
EXPECT_EQ(device->getHardwareInfo().gtSystemInfo.EUCount, igcSysInfo->GetEUCount());
EXPECT_EQ(device->getHardwareInfo().gtSystemInfo.ThreadCount, igcSysInfo->GetThreadCount());
}
TEST_F(CompilerInterfaceTest, givenDbgKeyForceUseDifferentPlatformWhenRequestForNewTranslationCtxThenUseDbgKeyPlatform) {