[PATCH] osmo-gsm-tester[master]: tests: voice: Add tests to verify dynamic timeslots during p...

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

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon May 7 15:27:08 UTC 2018


tests: voice: Add tests to verify dynamic timeslots during phone calls

Change-Id: Id5e61eaff39ac7a6585dc7de2aeb2469dd2ce726
---
A suites/voice/mo_mt_call_dyn_ipa.py
A suites/voice/mo_mt_call_dyn_osmo.py
2 files changed, 36 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/63/8063/2

diff --git a/suites/voice/mo_mt_call_dyn_ipa.py b/suites/voice/mo_mt_call_dyn_ipa.py
new file mode 100755
index 0000000..0b56653
--- /dev/null
+++ b/suites/voice/mo_mt_call_dyn_ipa.py
@@ -0,0 +1,18 @@
+#!/usr/bin/env python3
+from osmo_gsm_tester.testenv import *
+
+add_subdir_to_import_path("lib")
+from testlib import call_test_setup_run
+
+def my_bts_setup(bts):
+    bts.set_num_trx(1)
+    bts.set_trx_phy_channel(0, 0, 'CCCH+SDCCH4')
+    bts.set_trx_phy_channel(0, 1, 'SDCCH8')
+    bts.set_trx_phy_channel(0, 2, 'TCH/F_PDCH')
+    bts.set_trx_phy_channel(0, 3, 'TCH/F_PDCH')
+    bts.set_trx_phy_channel(0, 4, 'TCH/F_PDCH')
+    bts.set_trx_phy_channel(0, 5, 'TCH/F_PDCH')
+    bts.set_trx_phy_channel(0, 6, 'TCH/F_PDCH')
+    bts.set_trx_phy_channel(0, 7, 'PDCH')
+
+call_test_setup_run(bts_setup_cb=my_bts_setup)
diff --git a/suites/voice/mo_mt_call_dyn_osmo.py b/suites/voice/mo_mt_call_dyn_osmo.py
new file mode 100755
index 0000000..f9ea16b
--- /dev/null
+++ b/suites/voice/mo_mt_call_dyn_osmo.py
@@ -0,0 +1,18 @@
+#!/usr/bin/env python3
+from osmo_gsm_tester.testenv import *
+
+add_subdir_to_import_path("lib")
+from testlib import call_test_setup_run
+
+def my_bts_setup(bts):
+    bts.set_num_trx(1)
+    bts.set_trx_phy_channel(0, 0, 'CCCH+SDCCH4')
+    bts.set_trx_phy_channel(0, 1, 'SDCCH8')
+    bts.set_trx_phy_channel(0, 2, 'TCH/F_TCH/H_PDCH')
+    bts.set_trx_phy_channel(0, 3, 'TCH/F_TCH/H_PDCH')
+    bts.set_trx_phy_channel(0, 4, 'TCH/F_TCH/H_PDCH')
+    bts.set_trx_phy_channel(0, 5, 'TCH/F_TCH/H_PDCH')
+    bts.set_trx_phy_channel(0, 6, 'TCH/F_TCH/H_PDCH')
+    bts.set_trx_phy_channel(0, 7, 'PDCH')
+
+call_test_setup_run(bts_setup_cb=my_bts_setup)

-- 
To view, visit https://gerrit.osmocom.org/8063
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id5e61eaff39ac7a6585dc7de2aeb2469dd2ce726
Gerrit-PatchSet: 2
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list