<p>Max has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12272">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">cleanup: remove unused define<br><br>Change-Id: Ibff603dd581f60b600f2469ad464a0bf77e24bfe<br>---<br>M tests/gsm0808/gsm0808_test.c<br>1 file changed, 0 insertions(+), 13 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/72/12272/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/gsm0808/gsm0808_test.c b/tests/gsm0808/gsm0808_test.c</span><br><span>index a31e7d4..23961c8 100644</span><br><span>--- a/tests/gsm0808/gsm0808_test.c</span><br><span>+++ b/tests/gsm0808/gsm0808_test.c</span><br><span>@@ -37,19 +37,6 @@</span><br><span>          OSMO_ASSERT(rc_enc == msg->len); \</span><br><span>        } while(0)</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#define VERIFY(msg, data, len)                                            \</span><br><span style="color: hsl(0, 100%, 40%);">-       if (msgb_l3len(msg) != len) {                                   \</span><br><span style="color: hsl(0, 100%, 40%);">-               printf("%s:%d Length don't match: %d vs. %d. %s\n",       \</span><br><span style="color: hsl(0, 100%, 40%);">-                       __func__, __LINE__, msgb_l3len(msg), (int) len, \</span><br><span style="color: hsl(0, 100%, 40%);">-                       osmo_hexdump(msg->l3h, msgb_l3len(msg)));    \</span><br><span style="color: hsl(0, 100%, 40%);">-               abort();                                                \</span><br><span style="color: hsl(0, 100%, 40%);">-       } else if (memcmp(msg->l3h, data, len) != 0) {                       \</span><br><span style="color: hsl(0, 100%, 40%);">-               printf("%s:%d didn't match: got: %s\n",                   \</span><br><span style="color: hsl(0, 100%, 40%);">-                       __func__, __LINE__,                             \</span><br><span style="color: hsl(0, 100%, 40%);">-                       osmo_hexdump(msg->l3h, msgb_l3len(msg)));    \</span><br><span style="color: hsl(0, 100%, 40%);">-               abort();                                                \</span><br><span style="color: hsl(0, 100%, 40%);">-       }</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> /* Setup a fake codec list for testing */</span><br><span> static void setup_codec_list(struct gsm0808_speech_codec_list *scl)</span><br><span> {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12272">change 12272</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/12272"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ibff603dd581f60b600f2469ad464a0bf77e24bfe </div>
<div style="display:none"> Gerrit-Change-Number: 12272 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>