mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00
Correct expectation in test
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
023f9df999
commit
5e70afac1a
@ -1428,7 +1428,7 @@ TEST(DrmWrapperTest, WhenGettingDrmParamValueStringThenProperStringIsReturned) {
|
||||
{DrmParam::ParamCsTimestampFrequency, "I915_PARAM_CS_TIMESTAMP_FREQUENCY"}};
|
||||
for (auto &ioctlCodeString : ioctlCodeStringMap) {
|
||||
EXPECT_STREQ(getDrmParamString(ioctlCodeString.first, &ioctlHelper).c_str(), ioctlCodeString.second);
|
||||
EXPECT_THROW(getDrmParamString(ioctlCodeString.first, nullptr).c_str(), std::runtime_error);
|
||||
EXPECT_THROW(getDrmParamString(ioctlCodeString.first, nullptr), std::runtime_error);
|
||||
}
|
||||
|
||||
EXPECT_STREQ(getDrmParamString(DrmParam::ParamChipsetId, &ioctlHelper).c_str(), "I915_PARAM_CHIPSET_ID");
|
||||
|
Reference in New Issue
Block a user