mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 19:16:46 +00:00
Merge "test_utils.c: Skip test adsi_loaded_test if module not loaded." into 16
This commit is contained in:
@@ -343,6 +343,11 @@ AST_TEST_DEFINE(adsi_loaded_test)
|
|||||||
break;
|
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())) {
|
if (!(c = ast_dummy_channel_alloc())) {
|
||||||
return AST_TEST_FAIL;
|
return AST_TEST_FAIL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user