]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Unit tests: Use AST_TEST_DEFINE in conditional code only. 26/3226/1
authorCorey Farrell <git@cfware.com>
Mon, 18 Jul 2016 23:39:39 +0000 (19:39 -0400)
committerCorey Farrell <git@cfware.com>
Mon, 18 Jul 2016 23:39:39 +0000 (19:39 -0400)
commitc8e41d14a1478b46a6c986a4c30ba2c8bdf86cd5
tree1a40f381d57d0155665fc63aad6855507337836c
parent962c7ef5d91c546794313e01b4c264efdf3d1ead
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