summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-11-21 06:51:00 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-11-21 06:51:00 -0600
commite7f02814721532d5b06d604afa60b89a96947755 (patch)
treefc6842331f3db84c797b123e224daefed924dc95 /tests
parent5de5f10a5e31a34e68cd337e45b290d2c951465a (diff)
parent6a5a19a2bcc718d4de09384dd80a22587bfbbc90 (diff)
Merge "menuselect: Remove ineffective weak attribute detection." into 15
Diffstat (limited to 'tests')
-rw-r--r--tests/test_utils.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/test_utils.c b/tests/test_utils.c
index 072cf0a39..68a285727 100644
--- a/tests/test_utils.c
+++ b/tests/test_utils.c
@@ -324,20 +324,6 @@ AST_TEST_DEFINE(crypto_loaded_test)
break;
}
-#if 0 /* Not defined on Solaris */
- ast_test_status_update(test,
- "address of __stub__ast_crypto_loaded is %p\n",
- __stub__ast_crypto_loaded);
-#ifndef HAVE_ATTRIBUTE_weak_import
- ast_test_status_update(test,
- "address of __ref__ast_crypto_loaded is %p\n",
- __ref__ast_crypto_loaded);
-#endif
- ast_test_status_update(test,
- "pointer to ast_crypto_loaded is %p\n",
- ast_crypto_loaded);
-#endif
-
return ast_crypto_loaded() ? AST_TEST_PASS : AST_TEST_FAIL;
}
@@ -388,20 +374,6 @@ AST_TEST_DEFINE(agi_loaded_test)
break;
}
-#if 0
- ast_test_status_update(test,
- "address of __stub__ast_agi_register is %p\n",
- __stub__ast_agi_register);
-#ifndef HAVE_ATTRIBUTE_weak_import
- ast_test_status_update(test,
- "address of __ref__ast_agi_register is %p\n",
- __ref__ast_agi_register);
-#endif
- ast_test_status_update(test,
- "pointer to ast_agi_register is %p\n",
- ast_agi_register);
-#endif
-
if (ast_agi_register(ast_module_info->self, &noop_command) == AST_OPTIONAL_API_UNAVAILABLE) {
ast_test_status_update(test, "Unable to register testnoop command, because res_agi is not loaded.\n");
return AST_TEST_FAIL;