Change in osmo-ttcn3-hacks[master]: Fail if f_streamId_by_trx() can't find a stream id

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
Tue Jul 24 12:56:32 UTC 2018


daniel has submitted this change and it was merged. ( https://gerrit.osmocom.org/10120 )

Change subject: Fail if f_streamId_by_trx() can't find a stream id
......................................................................

Fail if f_streamId_by_trx() can't find a stream id

Change-Id: Ie58278edf7050254d7cdced48b4b7870e0e8d577
---
M library/RSL_Emulation.ttcn
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/library/RSL_Emulation.ttcn b/library/RSL_Emulation.ttcn
index 3c035e9..c56c278 100644
--- a/library/RSL_Emulation.ttcn
+++ b/library/RSL_Emulation.ttcn
@@ -318,7 +318,8 @@
 	case (2) { return IPAC_PROTO_RSL_TRX2; }
 	case (3) { return IPAC_PROTO_RSL_TRX3; }
 	}
-	self.stop;
+	setverdict(fail, "Unknown stream ID ", trx_nr);
+	mtc.stop;
 }
 
 

-- 
To view, visit https://gerrit.osmocom.org/10120
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: Ie58278edf7050254d7cdced48b4b7870e0e8d577
Gerrit-Change-Number: 10120
Gerrit-PatchSet: 2
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
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/20180724/fb55c27c/attachment.htm>


More information about the gerrit-log mailing list