fix cpim testers

This commit is contained in:
Jehan Monnier 2018-05-30 09:29:10 +02:00
parent 79c58c14aa
commit bc8f6a5c60
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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 = {