daniel has uploaded this change for review. ( https://gerrit.osmocom.org/9890
Change subject: Stop testcase execution after failing
......................................................................
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
---
M bts/BTS_Tests.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks
refs/changes/90/9890/1
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index dbb8313..0583171 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -757,7 +757,7 @@
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;
}
--
To view, visit https://gerrit.osmocom.org/9890
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I20e156982ae8150a9e7a145f66283de4a5d8e0bd
Gerrit-Change-Number: 9890
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <[email protected]>