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

[ROCm/hip-tests commit: b215381bbe]
このコミットが含まれているのは:
Manocha, Rahul authored and GitHub committed 2025-06-19 21:11:54 +05:30
1 親 976d0574cf
コミット 91a6727ea6
10ファイル変更
+17 -68

検索条件に一致するファイルはありません

+1 -5
ファイルの表示
@@ -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));