]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Unit tests: Use AST_TEST_DEFINE in conditional code only. 27/3227/1
authorCorey Farrell <git@cfware.com>
Mon, 18 Jul 2016 23:40:22 +0000 (19:40 -0400)
committerCorey Farrell <git@cfware.com>
Mon, 18 Jul 2016 23:40:22 +0000 (19:40 -0400)
commitcf1188a1be7c81892f480474eedf1a5639a1c1eb
tree7f291400a68fdf34d33987f2e56b0addcfaa6efc
parent943bb48b59435e00131cbd56b075f73f57d10e87
Unit tests: Use AST_TEST_DEFINE in conditional code only.

If AST_TEST_DEFINE is not conditional to TEST_FRAMEWORK it produces dead
code.  This places all existing unit tests into a conditional block if
they weren't already.

ASTERISK-26211 #close

Change-Id: I8ef83ee11cbc991b07b7a37ecb41433e8c734686
apps/app_voicemail.c
channels/sip/config_parser.c
channels/sip/reqresp_parser.c
funcs/func_curl.c
res/res_pjsip.c