<p><a href="https://gerrit.asterisk.org/c/asterisk/+/17701">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">Patchset:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/17701?tab=comments">Patch Set #4:</a> </p><p style="white-space: pre-wrap; word-wrap: break-word;">The tests are failing because test_cdr.c doesn't respect the defaults in cdr.c. Instead, it directly sets the flags to use by or'ing bits: https://github.com/asterisk/asterisk/blob/b4347c486150653ec7ce1d129e8f9017c69344da/tests/test_cdr.c#L60</p><p style="white-space: pre-wrap; word-wrap: break-word;">This is failing because a flag was added which defaults to 1.</p><p style="white-space: pre-wrap; word-wrap: break-word;">There are two ways to proceed here:<br>1) Simply add | CDR_DEFAULT_ENABLED to each of the debug_cdr_config flags in test_cdr.c<br>2) Make CDR_DEFAULT_ENABLED default to 0 instead of 1. Then, since test_cdr doesn't know about it, it won't set that and so we end up with the correct default of 0, simply by doing nothing.</p><p style="white-space: pre-wrap; word-wrap: break-word;">What would be preferred - thoughts, anyone?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17701">change 17701</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/c/asterisk/+/17701"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ibb78c11974bda229bbb7004b64761980e0b2c6d1 </div>
<div style="display:none"> Gerrit-Change-Number: 17701 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 15 Dec 2021 22:20:14 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>