summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2016-07-20 11:31:50 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-07-20 11:31:50 -0500
commit7dacb14c039117d3ff73b27d267d493fe7a99612 (patch)
tree00fbc0f710c0d4a883c6e6a37b08dd617ed75cdd /res
parent290269bb235d66a238dc4cf6f069a1cd8965013e (diff)
parentc8e41d14a1478b46a6c986a4c30ba2c8bdf86cd5 (diff)
Merge "Unit tests: Use AST_TEST_DEFINE in conditional code only." into 13
Diffstat (limited to 'res')
-rw-r--r--res/res_pjsip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c
index de8eb3e8a..40916684a 100644
--- a/res/res_pjsip.c
+++ b/res/res_pjsip.c
@@ -4118,6 +4118,7 @@ long ast_sip_threadpool_queue_size(void)
return ast_threadpool_queue_size(sip_threadpool);
}
+#ifdef TEST_FRAMEWORK
AST_TEST_DEFINE(xml_sanitization_end_null)
{
char sanitized[8];
@@ -4168,6 +4169,7 @@ AST_TEST_DEFINE(xml_sanitization_exceeds_buffer)
return AST_TEST_PASS;
}
+#endif
/*!
* \internal