Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
8a6e6417
Commit
8a6e6417
authored
Feb 24, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address review comments
parent
e017df3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
ci-scripts/ci_ctl_qtel.py
ci-scripts/ci_ctl_qtel.py
+0
-1
ci-scripts/cls_physim.py
ci-scripts/cls_physim.py
+3
-9
No files found.
ci-scripts/ci_ctl_qtel.py
View file @
8a6e6417
...
...
@@ -32,7 +32,6 @@
import
sys
import
time
import
serial
import
subprocess
as
sp
class
qtel_ctl
:
#---------------
...
...
ci-scripts/cls_physim.py
View file @
8a6e6417
...
...
@@ -102,24 +102,18 @@ class PhySim:
result
=
int
(
''
.
join
(
filter
(
str
.
isdigit
,
info
)))
/
100
#once parsed move the local logfile to its folder for tidiness
os
.
system
(
'mv '
+
self
.
__runLogFile
+
' '
+
self
.
__runLogPath
+
'/.'
)
#updating the HTML with results
html_cell
=
'<pre style="background-color:white">'
+
info
+
'</pre>'
html_queue
=
SimpleQueue
()
html_queue
.
put
(
html_cell
)
if
result
<
thrs_NOK
:
HTML
.
CreateHtmlTestRowQueue
(
self
.
runargs
,
'OK'
,
1
,
html_queue
)
HTML
.
CreateHtmlTestRowQueue
(
self
.
runargs
,
'OK'
,
[
info
]
)
elif
result
>
thrs_KO
:
error_msg
=
f'Decoding time exceeds a limit of
{
thrs_KO
}
us'
logging
.
error
(
error_msg
)
html_queue
.
put
(
f'<pre style="background-color:white">
{
error_msg
}
</pre>'
)
HTML
.
CreateHtmlTestRowQueue
(
self
.
runargs
,
'KO'
,
1
,
html_queue
)
HTML
.
CreateHtmlTestRowQueue
(
self
.
runargs
,
'KO'
,
[
info
+
'
\n
'
+
error_msg
])
self
.
exitStatus
=
1
else
:
HTML
.
CreateHtmlTestRowQueue
(
self
.
runargs
,
'NOK'
,
1
,
html_queue
)
HTML
.
CreateHtmlTestRowQueue
(
self
.
runargs
,
'NOK'
,
[
info
]
)
return
HTML
def
__CheckResults_NRulsimTest
(
self
,
HTML
,
CONST
,
testcase_id
):
html_queue
=
SimpleQueue
()
#retrieve run log file and store it locally
mySSH
=
sshconnection
.
SSHConnection
()
filename
=
self
.
__workSpacePath
+
self
.
__runLogFile
...
...
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