Added negative tests for clGetCommandBufferInfoKHR (#1929)

* Added negative tests for clGetCommandBufferInfo

* Replaced param_value_size values from 0 to sizeof() - 1
This commit is contained in:
Kamil-Goras-Mobica
2024-04-09 17:54:44 +02:00
committed by GitHub
parent f2a30737b6
commit d0300d176f
4 changed files with 356 additions and 1 deletions

View File

@@ -63,7 +63,14 @@ test_definition test_list[] = {
ADD_TEST(event_info_context),
ADD_TEST(event_info_reference_count),
ADD_TEST(finalize_invalid),
ADD_TEST(finalize_empty)
ADD_TEST(finalize_empty),
ADD_TEST(negative_get_command_buffer_info_invalid_command_buffer),
ADD_TEST(negative_get_command_buffer_info_not_supported_param_name),
ADD_TEST(negative_get_command_buffer_info_queues),
ADD_TEST(negative_get_command_buffer_info_ref_count),
ADD_TEST(negative_get_command_buffer_info_state),
ADD_TEST(negative_get_command_buffer_info_prop_array),
ADD_TEST(negative_get_command_buffer_info_context),
};
int main(int argc, const char *argv[])