Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
4922b16d
Commit
4922b16d
authored
Jan 05, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
1448e6ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+7
-1
software/ors-amarisoft/test/test.sh
software/ors-amarisoft/test/test.sh
+2
-1
No files found.
software/ors-amarisoft/test/test.py
View file @
4922b16d
...
@@ -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.
...
...
software/ors-amarisoft/test/test.sh
View file @
4922b16d
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment