mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
vulkan: Remove redundant negative testing (#2078)
- negative testing for semaphore functions is accomplished in semaphore tests, as well as create image in the api test Co-authored-by: dcrawley <dcrawley@qti.qualcomm.com>
This commit is contained in:
@@ -158,16 +158,6 @@ int test_consistency_external_for_1dimage(cl_device_id deviceID,
|
|||||||
test_error(errNum, "Unable to create Image with Properties");
|
test_error(errNum, "Unable to create Image with Properties");
|
||||||
image.reset();
|
image.reset();
|
||||||
|
|
||||||
// Passing properties, image_desc and image_format all as NULL
|
|
||||||
image = clCreateImageWithProperties(context, NULL, CL_MEM_READ_WRITE, NULL,
|
|
||||||
NULL, NULL, &errNum);
|
|
||||||
test_failure_error(
|
|
||||||
errNum, CL_INVALID_IMAGE_DESCRIPTOR,
|
|
||||||
"Image creation must fail with CL_INVALID_IMAGE_DESCRIPTOR "
|
|
||||||
"when all are passed as NULL");
|
|
||||||
|
|
||||||
image.reset();
|
|
||||||
|
|
||||||
// Passing NULL properties and a valid image_format and image_desc
|
// Passing NULL properties and a valid image_format and image_desc
|
||||||
image =
|
image =
|
||||||
clCreateImageWithProperties(context, NULL, CL_MEM_READ_WRITE,
|
clCreateImageWithProperties(context, NULL, CL_MEM_READ_WRITE,
|
||||||
|
|||||||
@@ -162,16 +162,6 @@ int test_consistency_external_for_3dimage(cl_device_id deviceID,
|
|||||||
test_error(errNum, "Unable to create Image with Properties");
|
test_error(errNum, "Unable to create Image with Properties");
|
||||||
image.reset();
|
image.reset();
|
||||||
|
|
||||||
// Passing properties, image_desc and image_format all as NULL
|
|
||||||
image = clCreateImageWithProperties(context, NULL, CL_MEM_READ_WRITE, NULL,
|
|
||||||
NULL, NULL, &errNum);
|
|
||||||
test_failure_error(
|
|
||||||
errNum, CL_INVALID_IMAGE_DESCRIPTOR,
|
|
||||||
"Image creation must fail with CL_INVALID_IMAGE_DESCRIPTOR "
|
|
||||||
"when all are passed as NULL");
|
|
||||||
|
|
||||||
image.reset();
|
|
||||||
|
|
||||||
// Passing NULL properties and a valid image_format and image_desc
|
// Passing NULL properties and a valid image_format and image_desc
|
||||||
image =
|
image =
|
||||||
clCreateImageWithProperties(context, NULL, CL_MEM_READ_WRITE,
|
clCreateImageWithProperties(context, NULL, CL_MEM_READ_WRITE,
|
||||||
|
|||||||
Reference in New Issue
Block a user