static apt_bool_t parse_gen_test_run(apt_test_suite_t *suite, int argc, const char * const *argv) { mrcp_resource_factory_t *factory; mrcp_resource_loader_t *resource_loader; resource_loader = mrcp_resource_loader_create(TRUE,suite->pool); if(!resource_loader) { apt_log(APT_LOG_MARK,APT_PRIO_WARNING,"Failed to Create Resource Loader"); return FALSE; } factory = mrcp_resource_factory_get(resource_loader); if(!factory) { apt_log(APT_LOG_MARK,APT_PRIO_WARNING,"Failed to Create Resource Factory"); return FALSE; } test_dir_process(suite,factory,MRCP_VERSION_2); test_dir_process(suite,factory,MRCP_VERSION_1); mrcp_resource_factory_destroy(factory); return TRUE; }
static apt_bool_t parse_gen_test_run(apt_test_suite_t *suite, int argc, const char * const *argv) { test_dir_process(suite); return TRUE; }