aboutsummaryrefslogtreecommitdiffstats
path: root/bts
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2018-07-05 15:41:59 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2018-07-05 16:53:30 +0200
commit3487a85d845322d7b9359ac23907c8cf4dee6ecb (patch)
tree0e21edf497e9cc3547c2ff46aa54df4cd1e1fd74 /bts
parentcc7bbebff3fc6ca133598a2ec9b43ffd423dcce7 (diff)
Stop testcase execution after failing
This hopefully prevents the verdict from changing to a dynamic test case error during an unclean termination Change-Id: I20e156982ae8150a9e7a145f66283de4a5d8e0bd
Diffstat (limited to 'bts')
-rw-r--r--bts/BTS_Tests.ttcn2
1 files changed, 1 insertions, 1 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index dbb83137..05831718 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -757,7 +757,7 @@ private function f_sacch_missing(template octetstring l3_exp) runs on ConnHdlr {
var octetstring l3 := substr(dl.payload.data_ind.payload, 4, 19);
if (match(l3, l3_exp)) {
setverdict(fail, "Received unexpected SACCH ", dl);
- self.stop;
+ mtc.stop;
} else {
repeat;
}