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 15:37:25 UTC 2018


daniel has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



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: merged
Gerrit-Change-Id: I20e156982ae8150a9e7a145f66283de4a5d8e0bd
Gerrit-Change-Number: 9890
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180705/3130d1b4/attachment.htm>


More information about the gerrit-log mailing list