SWDEV-465162 - Support ignored error
Modified TestContext::finalizeResults() Added HIP_CHECK_IGNORED_RETURN() HIP_CHECK_ERRORS() to supported ignored error such as hipErrorNotSupported. Enable all mipmap tests in catch2 memory folder for linux. The issues in the following tickets should be fixed. SWDEV-465162, SWDEV-465163, SWDEV-465165, SWDEV-465166, SWDEV-465168, SWDEV-465171, SWDEV-465172 Change-Id: I1146d6184582a7111a5af25b52f9e12c6a160e49
This commit is contained in:
@@ -324,7 +324,8 @@ void TestContext::finalizeResults() {
|
||||
INFO("HIP API Result check\n File:: "
|
||||
<< i.file << "\n Line:: " << i.line << "\n API:: " << i.call
|
||||
<< "\n Result:: " << i.result << "\n Result Str:: " << hipGetErrorString(i.result));
|
||||
REQUIRE(((i.result == hipSuccess) || (i.result == hipErrorPeerAccessAlreadyEnabled)));
|
||||
REQUIRE(((i.result == hipSuccess) || (i.result == hipErrorPeerAccessAlreadyEnabled) ||
|
||||
(i.result == hipErrorNotSupported)));
|
||||
REQUIRE(i.conditionsResult);
|
||||
}
|
||||
hasErrorOccured_.store(false); // Clear the flag
|
||||
|
||||
Reference in New Issue
Block a user