Change in osmo-ttcn3-hacks[master]: Stop testcase execution after failing

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Thu Jul 5 14:54:16 UTC 2018


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 <dwillmann at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180705/7d4ed203/attachment.htm>


More information about the gerrit-log mailing list