Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
openairinterface5G
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
14
Merge Requests
14
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
oai
openairinterface5G
Commits
5a80a8cb
Commit
5a80a8cb
authored
Dec 28, 2015
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfixes to autotest framework
parent
0046ed5d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
cmake_targets/autotests/core.py
cmake_targets/autotests/core.py
+3
-2
cmake_targets/autotests/openair.py
cmake_targets/autotests/openair.py
+2
-2
cmake_targets/autotests/tools/configure_cots_bandrich_ue.py
cmake_targets/autotests/tools/configure_cots_bandrich_ue.py
+1
-1
No files found.
cmake_targets/autotests/core.py
View file @
5a80a8cb
...
...
@@ -240,7 +240,8 @@ class core:
# print rsp
if
(
rsp
.
find
(
expect
)
==
-
1
):
return
'OK'
else
:
print
"command = "
+
cmd
+
"expect = "
+
expect
+
"rsp = "
+
rsp
raise
log
.
err
(
self
.
failed
(
command
,
expect
,
debug
))
...
...
cmake_targets/autotests/openair.py
View file @
5a80a8cb
...
...
@@ -111,8 +111,8 @@ class openair(core):
error
=
error
+
' In function: '
+
sys
.
_getframe
().
f_code
.
co_name
+
': *** Caught exception: '
+
str
(
e
.
__class__
)
+
" : "
+
str
(
e
)
error
=
error
+
traceback
.
format_exc
()
print
error
print
"Retrying again in
60
seconds"
time
.
sleep
(
60
)
print
"Retrying again in
1
seconds"
time
.
sleep
(
1
)
#sys.exit(1)
def
connect2
(
self
,
username
,
password
,
prompt
=
'$'
):
...
...
cmake_targets/autotests/tools/configure_cots_bandrich_ue.py
View file @
5a80a8cb
...
...
@@ -127,7 +127,7 @@ def start_ue () :
ip
=
IPRoute
()
idx
=
ip
.
link_lookup
(
ifname
=
iface
)[
0
]
os
.
system
(
'route add 192.172.0.1 ppp0'
)
os
.
system
(
'ping
-c 5
192.172.0.1'
)
os
.
system
(
'ping 192.172.0.1'
)
break
except
Exception
,
e
:
error
=
' Interface '
+
iface
+
'does not exist...'
...
...
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