SWDEV-538600 - Fix error code checks in some tests (#305)
Este cometimento está contido em:
cometido por
GitHub
ascendente
6c60fcafd8
cometimento
b215381bbe
@@ -80,11 +80,7 @@ TEST_CASE("Unit_hipGetTextureAlignmentOffset_Negative") {
|
||||
}
|
||||
|
||||
SECTION("texture is nullptr") {
|
||||
#if HT_AMD
|
||||
HIP_CHECK_ERROR(hipGetTextureAlignmentOffset(&offset, nullptr), hipErrorInvalidValue);
|
||||
#else
|
||||
HIP_CHECK_ERROR(hipGetTextureAlignmentOffset(&offset, nullptr), hipErrorInvalidTexture);
|
||||
#endif
|
||||
HIP_CHECK_ERROR(hipGetTextureAlignmentOffset(&offset, nullptr), hipErrorInvalidTexture);
|
||||
}
|
||||
|
||||
HIP_CHECK(hipFree(tex_buf));
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador