<p>Corey Farrell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/10456">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">CI: Disable binary modules when REF_DEBUG is enabled.<br><br>In Asterisk 13 binary modules are linked to the non-REF_DEBUG variants<br>of ao2 functions.  Cause false leaks to be reported when binary modules<br>are used.<br><br>Change-Id: I192b1b912ad20b6f46e51dcc0f6fcf2d6cef9e70<br>---<br>M tests/CI/buildAsterisk.sh<br>1 file changed, 6 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/56/10456/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/CI/buildAsterisk.sh b/tests/CI/buildAsterisk.sh</span><br><span>index d9c8678..da34f15 100755</span><br><span>--- a/tests/CI/buildAsterisk.sh</span><br><span>+++ b/tests/CI/buildAsterisk.sh</span><br><span>@@ -81,6 +81,12 @@</span><br><span> if [ $COVERAGE -eq 1 ] ; then</span><br><span>  common_config_args+=" --enable-coverage"</span><br><span> fi</span><br><span style="color: hsl(120, 100%, 40%);">+if [ $REF_DEBUG -eq 1] ; then</span><br><span style="color: hsl(120, 100%, 40%);">+       # Binary modules are not compiled with REF_DEBUG in Asterisk 13.</span><br><span style="color: hsl(120, 100%, 40%);">+      # This doesn't break the ABI but these binary modules fail to</span><br><span style="color: hsl(120, 100%, 40%);">+     # record entries causing false leaks to be reported.</span><br><span style="color: hsl(120, 100%, 40%);">+  DISABLE_BINARY_MODULES=1</span><br><span style="color: hsl(120, 100%, 40%);">+fi</span><br><span> if [ "$BRANCH_NAME" == "master" -o $DISABLE_BINARY_MODULES -eq 1 ] ; then</span><br><span>        common_config_args+=" --disable-binary-modules"</span><br><span> fi</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10456">change 10456</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10456"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I192b1b912ad20b6f46e51dcc0f6fcf2d6cef9e70 </div>
<div style="display:none"> Gerrit-Change-Number: 10456 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>