mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
fix: add log about printing assertion failure from kernel
Related-To: NEO-9237 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6510c725e3
commit
098ea3a997
@@ -83,5 +83,5 @@ TEST(AssertHandlerTests, GivenFlagSetWhenPrintAssertAndAbortCalledThenMessageIsP
|
||||
EXPECT_THROW(assertHandler.printAssertAndAbort(), std::exception);
|
||||
|
||||
std::string output = testing::internal::GetCapturedStderr();
|
||||
EXPECT_STREQ("assert!", output.c_str());
|
||||
}
|
||||
EXPECT_STREQ("AssertHandler::printMessage\nassert!", output.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user