Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dyyu
openairinterface5G
Commits
5ffff3a8
Commit
5ffff3a8
authored
May 31, 2016
by
Rohit Gupta
Browse files
Gitlab CI: minor fixes for UE configuration
parent
c2311b64
Changes
2
Hide whitespace changes
Inline
Side-by-side
cmake_targets/autotests/tools/configure_cots_bandrich_ue.py
View file @
5ffff3a8
...
@@ -221,6 +221,7 @@ while i < len(sys.argv):
...
@@ -221,6 +221,7 @@ while i < len(sys.argv):
print
'Using Serial port : '
+
serial_port
print
'Using Serial port : '
+
serial_port
stop_ue
()
stop_ue
()
elif
arg
==
'--reset-ue'
:
elif
arg
==
'--reset-ue'
:
find_open_port
()
reset_ue
()
reset_ue
()
elif
arg
==
'-gw'
:
elif
arg
==
'-gw'
:
gw
=
sys
.
argv
[
i
+
1
]
gw
=
sys
.
argv
[
i
+
1
]
...
...
cmake_targets/autotests/tools/configure_cots_huaweiE398_ue.py
View file @
5ffff3a8
...
@@ -143,6 +143,7 @@ def send_command (cmd, response, timeout):
...
@@ -143,6 +143,7 @@ def send_command (cmd, response, timeout):
error
=
error
+
' In function: '
+
sys
.
_getframe
().
f_code
.
co_name
+
': *** Caught exception: '
+
str
(
e
.
__class__
)
+
" : "
+
str
(
e
)
error
=
error
+
' In function: '
+
sys
.
_getframe
().
f_code
.
co_name
+
': *** Caught exception: '
+
str
(
e
.
__class__
)
+
" : "
+
str
(
e
)
error
=
error
+
traceback
.
format_exc
()
error
=
error
+
traceback
.
format_exc
()
print
error
print
error
time
.
sleep
(
1
)
def
start_ue
()
:
def
start_ue
()
:
...
@@ -226,6 +227,7 @@ while i < len(sys.argv):
...
@@ -226,6 +227,7 @@ while i < len(sys.argv):
print
'Using Serial port : '
+
serial_port
print
'Using Serial port : '
+
serial_port
stop_ue
()
stop_ue
()
elif
arg
==
'--reset-ue'
:
elif
arg
==
'--reset-ue'
:
find_open_port
()
reset_ue
()
reset_ue
()
elif
arg
==
'-gw'
:
elif
arg
==
'-gw'
:
gw
=
sys
.
argv
[
i
+
1
]
gw
=
sys
.
argv
[
i
+
1
]
...
...
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