<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15157">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">RAN_Adapter: invert check for RAN_ops == omit<br><br>The SGSN_Tests.ttcn run into bugs when doing the isvalue() check on a const object.<br>Check explicit for "omit" to skip creation of the vc_RAN object<br><br>Change-Id: I639ab6d0586174c0f20b93a53169f0aa254970fa<br>---<br>M library/RAN_Adapter.ttcnpp<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/57/15157/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/RAN_Adapter.ttcnpp b/library/RAN_Adapter.ttcnpp</span><br><span>index e995e8d..8e19241 100644</span><br><span>--- a/library/RAN_Adapter.ttcnpp</span><br><span>+++ b/library/RAN_Adapter.ttcnpp</span><br><span>@@ -90,7 +90,7 @@</span><br><span> </span><br><span>     /* create components */</span><br><span>      ba.vc_SCCP := SCCP_CT.create(id & "-SCCP");</span><br><span style="color: hsl(0, 100%, 40%);">-       if (isvalue(ops)) {</span><br><span style="color: hsl(120, 100%, 40%);">+   if (not istemplatekind(ops, "omit")) {</span><br><span>             ba.vc_RAN := RAN_Emulation_CT.create(id & "-RAN");</span><br><span>     }</span><br><span>    select (cfg.transport) {</span><br><span>@@ -142,7 +142,7 @@</span><br><span>               }</span><br><span>    }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   if (isvalue(ops)) {</span><br><span style="color: hsl(120, 100%, 40%);">+   if (not istemplatekind(ops, "omit")) {</span><br><span>             timer T := 5.0;</span><br><span>              T.start;</span><br><span>             //T.timeout;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15157">change 15157</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/c/osmo-ttcn3-hacks/+/15157"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I639ab6d0586174c0f20b93a53169f0aa254970fa </div>
<div style="display:none"> Gerrit-Change-Number: 15157 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>