Commit 4922b16d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1448e6ad
...@@ -120,6 +120,10 @@ def XN_PEER(xn_addr): ...@@ -120,6 +120,10 @@ def XN_PEER(xn_addr):
class ENBTestCase(AmariTestCase): class ENBTestCase(AmariTestCase):
maxDiff = None # want to see full diff in test run log on an error maxDiff = None # want to see full diff in test run log on an error
# XXX temp
instance_max_retry = 1
report_max_retry = 1
@classmethod @classmethod
def getInstanceSoftwareType(cls): def getInstanceSoftwareType(cls):
return "enb" return "enb"
...@@ -359,7 +363,7 @@ class TestENB_SDR(ENBTestCase): ...@@ -359,7 +363,7 @@ class TestENB_SDR(ENBTestCase):
t.assertEqual(t.enb_cfg['rx_gain'], [21]*2 + [22]*2 + [23]*2 + [24]*2) t.assertEqual(t.enb_cfg['rx_gain'], [21]*2 + [22]*2 + [23]*2 + [24]*2)
# XXX Lopcomm driver in all modes # TestENB_Lopcomm verifies enb wrt Lopcomm driver in all LTE/NR x FDD/TDD modes
class TestENB_Lopcomm(ENBTestCase): class TestENB_Lopcomm(ENBTestCase):
@classmethod @classmethod
def RUcfg(cls, i): def RUcfg(cls, i):
...@@ -378,6 +382,8 @@ class TestENB_Lopcomm(ENBTestCase): ...@@ -378,6 +382,8 @@ class TestENB_Lopcomm(ENBTestCase):
'mac_addr': '00:0A:45:00:00:%02x' % i, 'mac_addr': '00:0A:45:00:00:%02x' % i,
} }
# XXX verify cu_cfg
# XXX not possible to test Lopcomm nor Sunwave because on "slapos standalone" there is no slaptap. # XXX not possible to test Lopcomm nor Sunwave because on "slapos standalone" there is no slaptap.
......
...@@ -18,4 +18,5 @@ export SLAPOS_TEST_LOG_DIRECTORY=`pwd`/snapshot ...@@ -18,4 +18,5 @@ export SLAPOS_TEST_LOG_DIRECTORY=`pwd`/snapshot
#time ../k/kpython_for_test -m unittest discover -vf -k SimCard #time ../k/kpython_for_test -m unittest discover -vf -k SimCard
#time ../k/kpython_for_test -m unittest discover -vf #time ../k/kpython_for_test -m unittest discover -vf
#time ../k/kpython_for_test -m unittest discover -vf -k TestENB_CPRI #time ../k/kpython_for_test -m unittest discover -vf -k TestENB_CPRI
time ../k/kpython_for_test -m unittest discover -vf -k TestENB_SDR #time ../k/kpython_for_test -m unittest discover -vf -k TestENB_SDR
time ../k/kpython_for_test -m unittest discover -vf -k TestENB_Lopcomm
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment