Change in osmo-ttcn3-hacks[master]: stp: Fix ttcn3 parser error on some Titan versions

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/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Aug 21 11:54:48 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19748 )

Change subject: stp: Fix ttcn3 parser error on some Titan versions
......................................................................

stp: Fix ttcn3 parser error on some Titan versions

It is a known bug that some verisons of titan don't support having
several alt cases without any separator. This is already fixed in
master, but it doesn't hurt adding them to have them compile on other
versions.

Change-Id: I999d4cc5c1c26b8bbdf8b30ad8dfdc8f55ca433b
---
M stp/STP_Tests_IPA.ttcn
M stp/STP_Tests_M3UA.ttcn
2 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/stp/STP_Tests_IPA.ttcn b/stp/STP_Tests_IPA.ttcn
index 48652b8..c67bc4a 100644
--- a/stp/STP_Tests_IPA.ttcn
+++ b/stp/STP_Tests_IPA.ttcn
@@ -234,8 +234,8 @@
 		var octetstring data := f_rnd_octstring(f_rnd_ipa_len());
 		f_IPA_send(0, data);
 		alt {
-		[] as_count_rx(1, data, num_rx[1])
-		[] as_count_rx(2, data, num_rx[2])
+		[] as_count_rx(1, data, num_rx[1]);
+		[] as_count_rx(2, data, num_rx[2]);
 		}
 	}
 	/* FIXME: check for extraneous messages? */
diff --git a/stp/STP_Tests_M3UA.ttcn b/stp/STP_Tests_M3UA.ttcn
index f6fa625..58e52d3 100644
--- a/stp/STP_Tests_M3UA.ttcn
+++ b/stp/STP_Tests_M3UA.ttcn
@@ -367,8 +367,8 @@
 		rx_pd := tr_M3UA_protocol_data(pc_sender, pc_receiver, '23'O, '00'O, '00'O, '00'O, data);
 		f_M3UA_send(0, ts_M3UA_DATA(rctx_sender, tx_pd), 1);
 		alt {
-		[] as_count_rx(1, tr_M3UA_DATA(rctx_receiver, rx_pd), num_rx[1])
-		[] as_count_rx(2, tr_M3UA_DATA(rctx_receiver, rx_pd), num_rx[2])
+		[] as_count_rx(1, tr_M3UA_DATA(rctx_receiver, rx_pd), num_rx[1]);
+		[] as_count_rx(2, tr_M3UA_DATA(rctx_receiver, rx_pd), num_rx[2]);
 		}
 	}
 	/* FIXME: check for extraneous messages? */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19748
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I999d4cc5c1c26b8bbdf8b30ad8dfdc8f55ca433b
Gerrit-Change-Number: 19748
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200821/4fb69879/attachment.htm>


More information about the gerrit-log mailing list