aboutsummaryrefslogtreecommitdiffstats
path: root/suites
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-05-08 15:59:26 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-05-08 17:02:17 +0200
commit3bf1e13b13d499457f6f17f7c41622870ca5fcc6 (patch)
treefad2e41c0feec909938a98d01401dac79da02495 /suites
parentb2ce2f22218da052dc6a6617e172bc9c97a8e116 (diff)
tests: voice: Move mo_mt_call.py to mo_mt_call_tchf.py
Diffstat (limited to 'suites')
-rwxr-xr-xsuites/voice/mo_mt_call.py5
-rwxr-xr-xsuites/voice/mo_mt_call_tchf.py18
2 files changed, 18 insertions, 5 deletions
diff --git a/suites/voice/mo_mt_call.py b/suites/voice/mo_mt_call.py
deleted file mode 100755
index 093d1e8..0000000
--- a/suites/voice/mo_mt_call.py
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env python3
-from osmo_gsm_tester.testenv import *
-from testlib import call_test_setup_run
-
-call_test_setup_run()
diff --git a/suites/voice/mo_mt_call_tchf.py b/suites/voice/mo_mt_call_tchf.py
new file mode 100755
index 0000000..012ce52
--- /dev/null
+++ b/suites/voice/mo_mt_call_tchf.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')
+ bts.set_trx_phy_channel(0, 3, 'TCH/F')
+ bts.set_trx_phy_channel(0, 4, 'TCH/F')
+ bts.set_trx_phy_channel(0, 5, 'TCH/F')
+ bts.set_trx_phy_channel(0, 6, 'TCH/F')
+ bts.set_trx_phy_channel(0, 7, 'TCH/F')
+
+call_test_setup_run(bts_setup_cb=my_bts_setup)