PRINT_RESULT(ML_ERROR_NONE, nRetVal, "ml_service_get_pipeline", NnStreamerGetError(nRetVal));
if (0 != strcmp (g_Pipeline, get_pipeline))
{
- FPRINTF("[Line : %d][%s] Set and Get pipeline value mismatch \\n", __LINE__, API_NAMESPACE);
- g_free (get_pipeline);
- return 1;
+ FPRINTF("[Line : %d][%s] Set and Get pipeline value mismatch \\n", __LINE__, API_NAMESPACE);
+ g_free (get_pipeline);
+ return 1;
}
g_free (get_pipeline);
/** destroy client ml_service_h */
nRetVal = ml_service_destroy(client_handle);
- g_usleep (1000 * 1000 * 1); /* 1 sec */
+ g_usleep (1000 * 1000 * 1); /* 1 sec */
PRINT_RESULT_CLEANUP(ML_ERROR_NONE, nRetVal, "ml_service_destroy", NnStreamerGetError(nRetVal), ml_service_stop_pipeline(service_handle); ml_service_destroy(service_handle); ml_service_delete_pipeline(service_name); ml_option_destroy(query_client_option); ml_tensors_data_destroy(input); ml_tensors_info_destroy(in_info));
nRetVal = ml_service_stop_pipeline(service_handle);
PRINT_RESULT_CLEANUP(ML_ERROR_NONE, nRetVal, "ml_service_stop_pipeline", NnStreamerGetError(nRetVal), ml_service_destroy(service_handle); ml_service_delete_pipeline(service_name); ml_option_destroy(query_client_option); ml_tensors_data_destroy(input); ml_tensors_info_destroy(in_info));
- g_usleep (1000 * 1000 * 1); /* 1 sec */
+ g_usleep (1000 * 1000 * 1); /* 1 sec */
nRetVal = ml_service_destroy(service_handle);
PRINT_RESULT_CLEANUP(ML_ERROR_NONE, nRetVal, "ml_service_destroy", NnStreamerGetError(nRetVal), ml_service_delete_pipeline(service_name); ml_option_destroy(query_client_option); ml_tensors_data_destroy(input); ml_tensors_info_destroy(in_info));
- g_usleep (1000 * 1000 * 1); /* 1 sec */
+ g_usleep (1000 * 1000 * 1); /* 1 sec */
/** delete finished service */
nRetVal = ml_service_delete_pipeline(service_name);
/**
* @testcase ITc_nnstreamer_pipeline_ml_check_nnfw_availability_full_p
* @since_tizen 6.5
-* @author SRID(nibha.sharma)
-* @reviewer SRID(shobhit.v)
-* @type auto
+* @author SRID(nibha.sharma)
+* @reviewer SRID(shobhit.v)
+* @type auto
* @description Checks the availability of the given execution environments with custom option.
-* @scenario Checks the availability of the given execution environments with custom option.
+* @scenario Checks the availability of the given execution environments with custom option.
* @apicovered ml_check_nnfw_availability_full
* @passcase When ml_check_nnfw_availability_full and Precondition API is successful.
* @failcase If target API fails or any precondition API fails