[asterisk-bugs] [JIRA] (ASTERISK-26211) Unit tests: AST_TEST_DEFINE should be used in conditional code.

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Jul 18 18:35:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231476#comment-231476 ] 

Asterisk Team commented on ASTERISK-26211:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> Unit tests: AST_TEST_DEFINE should be used in conditional code.
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-26211
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26211
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail, Channels/chan_sip/General, Functions/func_curl, Resources/res_pjsip, Tests/General
>    Affects Versions: SVN, 11.22.0-rc1, 13.9.1
>            Reporter: Corey Farrell
>            Severity: Trivial
>
> app_voicemail, chan_sip, func_curl and res_pjsip have tests where {{AST_TEST_DEFINE}} is not protected by an {{#ifdef TEST_FRAMEWORK}}.  This causes dead-code to be included in the modules when TEST_FRAMEWORK is disabled.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list