EXSWHTEC-224 - Test cases ID clean up and documentation for Texture Management (#92)

- Update hipBindTextureToMipmappedArray.cc
- Fix build error for undeclared identifier 'ret'
- Disable tests which fail in external CI
This commit is contained in:
milos-mozetic
2023-08-14 17:15:35 +02:00
کامیت شده توسط GitHub
والد 9c24abc77b
کامیت 7c7884a2d9
19فایلهای تغییر یافته به همراه1321 افزوده شده و 106 حذف شده
@@ -19,8 +19,24 @@ THE SOFTWARE.
#include <hip_test_common.hh>
/*
* Validates Array Resource texture object with negative/functional tests.
/**
* @addtogroup hipCreateTextureObject hipCreateTextureObject
* @{
* @ingroup TextureTest
*/
/**
* Test Description
* ------------------------
* - Validates handling of a regular `nullptr` array
* - Expected output: do not return `hipSuccess`
* Test source
* ------------------------
* - unit/texture/hipCreateTextureObject_Array.cc
* Test requirements
* ------------------------
* - Textures supported on device
* - HIP_VERSION >= 5.2
*/
TEST_CASE("Unit_hipCreateTextureObject_ArrayResource") {
CHECK_IMAGE_SUPPORT
@@ -44,9 +60,18 @@ TEST_CASE("Unit_hipCreateTextureObject_ArrayResource") {
REQUIRE(ret != hipSuccess);
}
/*
* Validates MipMappedArray Resource texture object
* with negative/functional tests.
/**
* Test Description
* ------------------------
* - Validates handling of a regular `nullptr` mipmapped array
* - Expected output: do not return `hipSuccess`
* Test source
* ------------------------
* - unit/texture/hipCreateTextureObject_Array.cc
* Test requirements
* ------------------------
* - Textures supported on device
* - HIP_VERSION >= 5.2
*/
TEST_CASE("Unit_hipCreateTextureObject_MmArrayResource") {
CHECK_IMAGE_SUPPORT