Revert "RAN_Adapter: invert check for RAN_ops == omit"
This reverts commit 5932cd3463
. It caused
a lot of tests in the ttcn3-bsc-test, ttcn3-bsc-test-latest,
ttcn3-bsc-test-sccplite and ttcn3-bsc-test-sccplite-latest testsuites to
fail with:
RAN_Adapter.ttcnpp:179 Dynamic test case error: Text encoder: Encoding an unbound optional value.
Related: OS#4156
Change-Id: I441c701553eef8e9e018d11923359eb3f3b26826
This commit is contained in:
parent
c4148dac35
commit
0d7b7abb00
|
@ -90,7 +90,7 @@ function f_ran_adapter_init(inout RAN_Adapter ba, in RAN_Configuration cfg, char
|
|||
|
||||
/* create components */
|
||||
ba.vc_SCCP := SCCP_CT.create(id & "-SCCP");
|
||||
if (not istemplatekind(ops, "omit")) {
|
||||
if (isvalue(ops)) {
|
||||
ba.vc_RAN := RAN_Emulation_CT.create(id & "-RAN");
|
||||
}
|
||||
select (cfg.transport) {
|
||||
|
@ -142,7 +142,7 @@ function f_ran_adapter_init(inout RAN_Adapter ba, in RAN_Configuration cfg, char
|
|||
}
|
||||
}
|
||||
|
||||
if (not istemplatekind(ops, "omit")) {
|
||||
if (isvalue(ops)) {
|
||||
timer T := 5.0;
|
||||
T.start;
|
||||
//T.timeout;
|
||||
|
|
Loading…
Reference in New Issue