Commit bc8f6a5c authored by jehan's avatar jehan
Browse files

fix cpim testers

parent 79c58c14
......@@ -2268,7 +2268,7 @@ static void linphone_core_init(LinphoneCore * lc, LinphoneCoreCbs *cbs, LpConfig
lc->factory = ms_factory_new_with_voip_and_directories(msplugins_dir, image_resources_dir);
lc->sal->setFactory(lc->factory);
belr::GrammarLoader::get().addPath(std::string(linphone_factory_get_top_resources_dir(lfactory)).append("/belr/grammars").c_str());
belr::GrammarLoader::get().addPath(std::string(linphone_factory_get_top_resources_dir(lfactory)).append("/belr/grammars"));
linphone_task_list_init(&lc->hooks);
......
......@@ -313,7 +313,7 @@ test_t cpim_tests[] = {
static int suite_begin(void) {
//Supposed to be done by platform helper, but in this case, we don't have it"
belr::GrammarLoader::get().load(bc_tester_res("share/belr/grammars/cpim_grammars"));
belr::GrammarLoader::get().addPath(std::string(bc_tester_get_resource_dir_prefix()));
return 0;
}
test_suite_t cpim_test_suite = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment