Skip to content

Commit 08fa401

Browse files
Modify test.
Extract value prior to comparison. Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
1 parent b2079c4 commit 08fa401

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opencl/test/unit_test/xe_hpc_core/pvc/linux/hw_info_config_tests_pvc.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ PVCTEST_F(HwInfoConfigTestLinuxPvc, given57bAddressSpaceWhenConfiguringHwInfoThe
4444
outHwInfo.capabilityTable.gpuAddressSpace = maxNBitValue(57);
4545
ret = hwInfoConfig->configureHardwareCustom(&outHwInfo, osInterface);
4646
EXPECT_EQ(0, ret);
47-
EXPECT_TRUE(outHwInfo.featureTable.flags.ftr57bGPUAddressing);
47+
auto value = outHwInfo.featureTable.flags.ftr57bGPUAddressing;
48+
EXPECT_EQ(1u, value);
4849
}
4950

5051
PVCTEST_F(HwInfoConfigTestLinuxPvc, GivenPvcWhenConfigureHardwareCustomThenKmdNotifyIsEnabled) {

0 commit comments

Comments
 (0)