[Asterisk-code-review] CI: Disable binary modules when REF DEBUG is enabled. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Wed Oct 10 02:57:32 CDT 2018


Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/10456


Change subject: CI: Disable binary modules when REF_DEBUG is enabled.
......................................................................

CI: Disable binary modules when REF_DEBUG is enabled.

In Asterisk 13 binary modules are linked to the non-REF_DEBUG variants
of ao2 functions.  Cause false leaks to be reported when binary modules
are used.

Change-Id: I192b1b912ad20b6f46e51dcc0f6fcf2d6cef9e70
---
M tests/CI/buildAsterisk.sh
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/56/10456/1

diff --git a/tests/CI/buildAsterisk.sh b/tests/CI/buildAsterisk.sh
index d9c8678..da34f15 100755
--- a/tests/CI/buildAsterisk.sh
+++ b/tests/CI/buildAsterisk.sh
@@ -81,6 +81,12 @@
 if [ $COVERAGE -eq 1 ] ; then
 	common_config_args+=" --enable-coverage"
 fi
+if [ $REF_DEBUG -eq 1] ; then
+	# Binary modules are not compiled with REF_DEBUG in Asterisk 13.
+	# This doesn't break the ABI but these binary modules fail to
+	# record entries causing false leaks to be reported.
+	DISABLE_BINARY_MODULES=1
+fi
 if [ "$BRANCH_NAME" == "master" -o $DISABLE_BINARY_MODULES -eq 1 ] ; then
 	common_config_args+=" --disable-binary-modules"
 fi

-- 
To view, visit https://gerrit.asterisk.org/10456
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I192b1b912ad20b6f46e51dcc0f6fcf2d6cef9e70
Gerrit-Change-Number: 10456
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181010/3b440f03/attachment-0001.html>


More information about the asterisk-code-review mailing list