]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Unit tests: Use AST_TEST_DEFINE in conditional code only. 25/3225/1
authorCorey Farrell <git@cfware.com>
Mon, 18 Jul 2016 23:36:02 +0000 (19:36 -0400)
committerCorey Farrell <git@cfware.com>
Mon, 18 Jul 2016 23:36:02 +0000 (19:36 -0400)
commit238a55b1269d32ca243dd715b196856778632feb
tree87154982f69bc0217498adce7fbb1ddd4e05dfc0
parent46a63cc739574be032139928fe5d234faf42ddcb
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