summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2018-07-05 17:31:20 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2018-07-06 18:04:52 +0200
commit8273fb9ceb65260899b470c474cd7cd5df62dfaa (patch)
tree75305ca357dbb5eb45988077f7fc02a6835911df /library
parent205a384562fd324236c14a285209941af755135b (diff)
RSL_Emulation: Stop with error verdict if conn table runs out of space
Diffstat (limited to 'library')
-rw-r--r--library/RSL_Emulation.ttcn10
1 files changed, 4 insertions, 6 deletions
diff --git a/library/RSL_Emulation.ttcn b/library/RSL_Emulation.ttcn
index 119a9be..325f22e 100644
--- a/library/RSL_Emulation.ttcn
+++ b/library/RSL_Emulation.ttcn
@@ -195,7 +195,7 @@ runs on RSL_Emulation_CT {
return;
}
}
- setverdict(fail, "No free entry in conn table for ", ra, fn);
+ testcase.stop("No free entry in conn table for ", ra, fn);
}
/* create an ew client with given RA and FN */
@@ -212,7 +212,7 @@ runs on RSL_Emulation_CT {
return;
}
}
- setverdict(fail, "No free entry in conn table for ", trx_nr, chan_nr, comp_ref);
+ testcase.stop("No free entry in conn table for ", trx_nr, chan_nr, comp_ref);
}
@@ -263,8 +263,7 @@ runs on RSL_Emulation_CT {
return;
}
}
- setverdict(fail, "No space left in LastActTable to store chan_act for ", chan_nr);
- self.stop;
+ testcase.stop("No space left in LastActTable to store chan_act for ", chan_nr);
}
private function f_lookup_last_act(uint8_t trx_nr, RslChannelNr chan_nr)
@@ -275,8 +274,7 @@ runs on RSL_Emulation_CT return RSL_Message {
return LastActTable[i].chan_act;
}
}
- setverdict(fail, "No LastActTable entry found for TRX ", trx_nr, " ", chan_nr);
- self.stop;
+ testcase.stop("No LastActTable entry found for TRX ", trx_nr, " ", chan_nr);
}
private function f_last_act_table_init() runs on RSL_Emulation_CT {