Change in osmo-ttcn3-hacks[master]: bsc: Use NUM_SDCCH_PER_BTS in dyn ts sdcch8 tests

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

pespin gerrit-no-reply at lists.osmocom.org
Mon Oct 25 11:31:50 UTC 2021


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


Change subject: bsc: Use NUM_SDCCH_PER_BTS in dyn ts sdcch8 tests
......................................................................

bsc: Use NUM_SDCCH_PER_BTS in dyn ts sdcch8 tests

Change-Id: I42bfa1a1e450d15cd4122e996d7936df88917891
---
M bsc/BSC_Tests.ttcn
1 file changed, 3 insertions(+), 3 deletions(-)



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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index a65871b..cebd634 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -7202,7 +7202,7 @@
 	/* Fill TS0 SDCCH channels (NOTE: only 3 SDCCH/4 channels are available
 	 * on CCCH+SDCCH4+CBCH) */
 	var integer i;
-	for (i := 0; i < 3; i := i + 1) {
+	for (i := 0; i < NUM_SDCCH_PER_BTS; i := i + 1) {
 		dt := f_est_dchan('23'O, i, '00010203040506'O);
 	}
 
@@ -7279,7 +7279,7 @@
 	/* Fill TS0 SDCCH channels (NOTE: only 3 SDCCH/4 channels are available
 	 * on CCCH+SDCCH4+CBCH) */
 	var OCT1 ra := '43'O; /* RA containing reason=originating speech call*/
-	for (i := 0; i < 3; i := i + 1) {
+	for (i := 0; i < NUM_SDCCH_PER_BTS; i := i + 1) {
 		dt := f_est_dchan(ra, i, '00010203040506'O);
 	}
 
@@ -7349,7 +7349,7 @@
 	/* Fill TS0 SDCCH channels (NOTE: only 3 SDCCH/4 channels are available
 	 * on CCCH+SDCCH4+CBCH) */
 	var integer i;
-	for (i := 0; i < 3; i := i + 1) {
+	for (i := 0; i < NUM_SDCCH_PER_BTS; i := i + 1) {
 		dt := f_est_dchan('23'O, i, '00010203040506'O);
 	}
 

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


More information about the gerrit-log mailing list