From f9e0c04b542ba6fd41952df7282a6984cf75d77a Mon Sep 17 00:00:00 2001 From: Aravind Gopalakrishnan Date: Fri, 30 Oct 2020 10:15:03 -0700 Subject: [PATCH] Fix build error in ult Change-Id: I44a66975df4d12e68b967f5dac28cffb8a145004 Signed-off-by: Aravind Gopalakrishnan --- .../core/test/unit_tests/sources/cmdlist/test_cmdlist_2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_2.cpp b/level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_2.cpp index 6b418ce7c8..c8a5afc50e 100644 --- a/level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_2.cpp +++ b/level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_2.cpp @@ -192,8 +192,8 @@ HWTEST2_F(CommandListCreate, givenCopyOnlyCommandListWhenAppendWriteGlobalTimest for (auto it : iterator) { auto cmd = genCmdCast(*it); - if ((cmd->getPostSyncOperation(), MI_FLUSH_DW::POST_SYNC_OPERATION_WRITE_TIMESTAMP_REGISTER) && - (cmd->getDestinationAddress(), timestampAddress)) { + if ((cmd->getPostSyncOperation() == MI_FLUSH_DW::POST_SYNC_OPERATION_WRITE_TIMESTAMP_REGISTER) && + (cmd->getDestinationAddress() == timestampAddress)) { postSyncFound = true; } }