Change in osmo-ttcn3-hacks[master]: BTS_Tests: execute test cases for BS power control on TRX1

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

fixeria gerrit-no-reply at lists.osmocom.org
Sat Oct 23 22:44:53 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25908 )


Change subject: BTS_Tests: execute test cases for BS power control on TRX1
......................................................................

BTS_Tests: execute test cases for BS power control on TRX1

Otherwise they fail, because BS power control is normally not
permitted on the BCCH carrier (unless it's in power saving mode).

Change-Id: Ied3e38986690850f0323d4db072cf59b6975587e
Related: SYS#4918
---
M bts/BTS_Tests.ttcn
1 file changed, 14 insertions(+), 12 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/08/25908/1

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 17e7e6c..35c408c 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -2673,26 +2673,28 @@
 testcase TC_rsl_bs_pwr_static_ass() runs on test_CT {
 	var ConnHdlr vc_conn;
 	var ConnHdlrPars pars;
+
 	f_init();
-	for (var integer tn := 1; tn <= 4; tn := tn+1) {
-		pars := valueof(t_Pars(t_RslChanNr_Bm(tn), ts_RSL_ChanMode_SIGN));
-		vc_conn := f_start_handler(refers(f_TC_rsl_bs_pwr_static_ass), pars,
-					   pcu_comp := false, trxc_comp := true);
-		vc_conn.done;
-	}
+
+	pars := valueof(t_Pars(t_RslChanNr_Bm(0), ts_RSL_ChanMode_SIGN, trx_nr := 1));
+	vc_conn := f_start_handler(refers(f_TC_rsl_bs_pwr_static_ass), pars,
+				   pcu_comp := false, trxc_comp := true);
+	vc_conn.done;
+
 	Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
 }
 
 testcase TC_rsl_bs_pwr_static_power_control() runs on test_CT {
 	var ConnHdlr vc_conn;
 	var ConnHdlrPars pars;
+
 	f_init();
-	for (var integer tn := 1; tn <= 4; tn := tn+1) {
-		pars := valueof(t_Pars(t_RslChanNr_Bm(tn), ts_RSL_ChanMode_SIGN));
-		vc_conn := f_start_handler(refers(f_TC_rsl_bs_pwr_static_power_control), pars,
-					   pcu_comp := false, trxc_comp := true);
-		vc_conn.done;
-	}
+
+	pars := valueof(t_Pars(t_RslChanNr_Bm(0), ts_RSL_ChanMode_SIGN, trx_nr := 1));
+	vc_conn := f_start_handler(refers(f_TC_rsl_bs_pwr_static_power_control), pars,
+				   pcu_comp := false, trxc_comp := true);
+	vc_conn.done;
+
 	Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25908
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: Ied3e38986690850f0323d4db072cf59b6975587e
Gerrit-Change-Number: 25908
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211023/36042219/attachment.htm>


More information about the gerrit-log mailing list