Merge "test_utils.c: Skip test adsi_loaded_test if module not loaded." into 17

17.1
Friendly Automation 6 years ago committed by Gerrit Code Review
commit 03625b4bc6

@ -343,6 +343,11 @@ AST_TEST_DEFINE(adsi_loaded_test)
break;
}
if (!ast_module_check("res_adsi.so")) {
ast_test_status_update(test, "This test skipped because deprecated module res_adsi.so is not built by default.\n");
return AST_TEST_PASS;
}
if (!(c = ast_dummy_channel_alloc())) {
return AST_TEST_FAIL;
}

Loading…
Cancel
Save