laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/30788 )
Change subject: start-testsuite.sh: allow redefining TITAN_LIBRARY_PATH from env
......................................................................
start-testsuite.sh: allow redefining TITAN_LIBRARY_PATH from env
I am not using Debian, so I always have to edit this file in order
to be able to run the testsuites. Keep using default paths for
Debian, but allow redefining the TITAN_LIBRARY_PATH variable.
Change-Id: I3778a52697a182dbac39de6c18a053832ef78d93
---
M start-testsuite.sh
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/start-testsuite.sh b/start-testsuite.sh
index b9324bb..a1e753d 100755
--- a/start-testsuite.sh
+++ b/start-testsuite.sh
@@ -47,7 +47,7 @@
# below is for the debian packages
TTCN3_BIN_DIR="${TTCN3_BIN_DIR:-/usr/bin}"
-TITAN_LIBRARY_PATH="/usr/lib/titan:/usr/ttcn3/lib"
+TITAN_LIBRARY_PATH="${TITAN_LIBRARY_PATH:-/usr/lib/titan:/usr/ttcn3/lib}"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SUITE_DIR:$TITAN_LIBRARY_PATH" "$TTCN3_BIN_DIR/ttcn3_start" $SUITE $CFG $TEST
expected="$SUITE_DIR/expected-results.xml"
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/30788
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: I3778a52697a182dbac39de6c18a053832ef78d93
Gerrit-Change-Number: 30788
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/30789 )
Change subject: BTS_Tests: fix "Timeout waiting for L1CTL_FBSB_CONF"
......................................................................
BTS_Tests: fix "Timeout waiting for L1CTL_FBSB_CONF"
Since [1] was merged, sending the L1CTL_DM_REL_REQ message alone
is not enough to be able to tune back to BCCH. We also need to
send L1CTL_RESET_REQ, so the trxcon's state is reset properly.
This patch fixes the following testcases:
* TC_sacch_chan_act_ho_async,
* TC_sacch_chan_act_ho_sync,
* TC_conn_fail_crit.
Change-Id: I07192e8a3127f8d9557a4b8aac3ca002f511a1d5
Related: [1] I5bbe6ca4cc6299f9faf343822c992a6872a45081 (osmocom-bb.git)
---
M bts/BTS_Tests.ttcn
1 file changed, 6 insertions(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 9baee40..25e7952 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1506,6 +1506,7 @@
f_rsl_chan_deact();
f_L1CTL_DM_REL_REQ(L1CTL, g_chan_nr);
+ f_L1CTL_RESET(L1CTL);
/* Tune back to CCCH/BCCH */
f_l1_tune(L1CTL);
@@ -1586,6 +1587,7 @@
f_rsl_chan_deact();
f_L1CTL_DM_REL_REQ(L1CTL, g_chan_nr);
+ f_L1CTL_RESET(L1CTL);
/* Tune back to CCCH/BCCH */
f_l1_tune(L1CTL);
@@ -1614,6 +1616,7 @@
f_rsl_chan_deact();
f_L1CTL_DM_REL_REQ(L1CTL, g_chan_nr);
+ f_L1CTL_RESET(L1CTL);
/* Tune back to CCCH/BCCH */
f_l1_tune(L1CTL);
@@ -1641,6 +1644,7 @@
f_rsl_chan_deact();
f_L1CTL_DM_REL_REQ(L1CTL, g_chan_nr);
+ f_L1CTL_RESET(L1CTL);
/* Tune back to CCCH/BCCH */
f_l1_tune(L1CTL);
@@ -3944,7 +3948,8 @@
f_est_dchan();
f_sleep(2.0);
- L1CTL.send(ts_L1CTL_DM_REL_REQ(g_chan_nr));
+ f_L1CTL_DM_REL_REQ(L1CTL, g_chan_nr);
+ f_L1CTL_RESET(L1CTL);
f_l1_tune(L1CTL); /* tune back to BCCH */
timer T := 40.0;
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/30789
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: I07192e8a3127f8d9557a4b8aac3ca002f511a1d5
Gerrit-Change-Number: 30789
Gerrit-PatchSet: 4
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged