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/.
Stefan Sperling gerrit-no-reply at lists.osmocom.orgStefan Sperling has uploaded this change for review. ( https://gerrit.osmocom.org/10708
Change subject: show return code when sending L1CTL_FBSB_REQ fails
......................................................................
show return code when sending L1CTL_FBSB_REQ fails
Provide a little bit more information when a BTS test fails
due to L1CTL FBSB failure.
Example output:
Test case TC_si_sched_default finished. Verdict: fail reason: \
FBSB Failed with non-zero return code 255
Change-Id: I5e8f23a2615b64bdf3167d486ba808c93f0f4b23
---
M library/L1CTL_PortType.ttcn
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/08/10708/1
diff --git a/library/L1CTL_PortType.ttcn b/library/L1CTL_PortType.ttcn
index 14a059c..8e03c02 100644
--- a/library/L1CTL_PortType.ttcn
+++ b/library/L1CTL_PortType.ttcn
@@ -35,12 +35,13 @@
function f_L1CTL_FBSB(L1CTL_PT pt, Arfcn arfcn, L1ctlCcchMode ccch_mode := CCCH_MODE_COMBINED, integer rxlev_exp := 57) {
timer T := 15.0;
for (var integer i := 0; i < 10; i := i+1) {
+ var L1ctlDlMessage dl;
pt.send(ts_L1CTL_FBSB_REQ(arfcn, valueof(t_L1CTL_FBSB_F_ALL), 0, ccch_mode, rxlev_exp));
T.start
alt {
[] pt.receive(tr_L1CTL_FBSB_CONF(0)) { return; };
- [i >= 9] pt.receive(tr_L1CTL_FBSB_CONF(?)) {
- setverdict(fail, "FBSB Failed with non-zero return code");
+ [i >= 9] pt.receive(tr_L1CTL_FBSB_CONF(?)) -> value dl {
+ setverdict(fail, "FBSB Failed with non-zero return code ", dl.payload.fbsb_conf.result);
mtc.stop;
};
[] pt.receive(tr_L1CTL_FBSB_CONF(?)) {
--
To view, visit https://gerrit.osmocom.org/10708
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: I5e8f23a2615b64bdf3167d486ba808c93f0f4b23
Gerrit-Change-Number: 10708
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180830/fd58cceb/attachment.htm>