SWDEV-538600 - Fix error code checks in some tests (#305)

[ROCm/hip-tests commit: b215381bbe]
Este cometimento está contido em:
Manocha, Rahul criou e GitHub cometeu 2025-06-19 21:11:54 +05:30
1 ascendente 976d0574cf
cometimento 91a6727ea6
10 ficheiros modificados
+17 -68

Não existem ficheiros que correspondam à sua pesquisa

@@ -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));