diff --git a/tests/CI/buildAsterisk.sh b/tests/CI/buildAsterisk.sh index d9c8678434..30c9f05258 100755 --- a/tests/CI/buildAsterisk.sh +++ b/tests/CI/buildAsterisk.sh @@ -81,6 +81,12 @@ common_config_args+=" --enable-dev-mode" 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