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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
wangjie
OpenXG-RAN
Commits
a3ab1a90
Commit
a3ab1a90
authored
Dec 29, 2015
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor bugfixes due to runtime errors
parent
3c455f7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+5
-4
No files found.
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
View file @
a3ab1a90
...
@@ -1026,7 +1026,7 @@ oai_list = []
...
@@ -1026,7 +1026,7 @@ oai_list = []
#start_time = time.time() # datetime.datetime.now()
#start_time = time.time() # datetime.datetime.now()
if
user
==
''
:
if
user
==
''
:
user
=
getpass
.
getuser
()
user
=
getpass
.
getuser
()
if
p
assword
==
''
:
if
p
w
==
''
:
pw
=
getpass
.
getpass
()
pw
=
getpass
.
getpass
()
print
"host = "
+
host
print
"host = "
+
host
print
"user = "
+
user
print
"user = "
+
user
...
@@ -1094,7 +1094,7 @@ if GitOAI5GHeadVersion == '':
...
@@ -1094,7 +1094,7 @@ if GitOAI5GHeadVersion == '':
NFSTestsResultsDir
=
NFSResultsShare
+
'/'
+
GitOAI5GRepoBranch
+
'/'
+
GitOAI5GHeadVersion
+
'/'
NFSTestsResultsDir
=
NFSResultsShare
+
'/'
+
GitOAI5GRepoBranch
+
'/'
+
GitOAI5GHeadVersion
+
'/'
print
"NFS
ResultsShareDir = "
+
NFSResultsShare
Dir
print
"NFS
TestsResultsDir = "
+
NFSTestsResults
Dir
MachineList
=
MachineList
.
split
()
MachineList
=
MachineList
.
split
()
MachineListGeneric
=
MachineListGeneric
.
split
()
MachineListGeneric
=
MachineListGeneric
.
split
()
...
@@ -1195,7 +1195,7 @@ print "cpu freq(MHz): " + str(cpu_freq) + "timeout(s): " + str(timeout)
...
@@ -1195,7 +1195,7 @@ print "cpu freq(MHz): " + str(cpu_freq) + "timeout(s): " + str(timeout)
#print result
#print result
#We now prepare the machines for testing
#We now prepare the machines for testing
#
index=0
index
=
0
threads_init_setup
=
[]
threads_init_setup
=
[]
for
oai
in
oai_list
:
for
oai
in
oai_list
:
try
:
try
:
...
@@ -1205,7 +1205,7 @@ for oai in oai_list:
...
@@ -1205,7 +1205,7 @@ for oai in oai_list:
#print oai_list[oai].send_recv('who am i')
#print oai_list[oai].send_recv('who am i')
#cleanUpPrograms(oai_list[oai]
#cleanUpPrograms(oai_list[oai]
cmd
=
'sudo -S -E rm -fr '
+
logdir
+
' ; mkdir -p '
+
logdir
cmd
=
'sudo -S -E rm -fr '
+
logdir
+
' ; mkdir -p '
+
logdir
result
=
oai
[
index
]
.
send_recv
(
cmd
)
result
=
oai
.
send_recv
(
cmd
)
setuplogfile
=
logdir
+
'/setup_log_'
+
MachineList
[
index
]
+
'_.txt'
setuplogfile
=
logdir
+
'/setup_log_'
+
MachineList
[
index
]
+
'_.txt'
setup_script
=
locallogdir
+
'/setup_script_'
+
MachineList
[
index
]
+
'_.txt'
setup_script
=
locallogdir
+
'/setup_script_'
+
MachineList
[
index
]
+
'_.txt'
...
@@ -1269,6 +1269,7 @@ for oai in oai_list:
...
@@ -1269,6 +1269,7 @@ for oai in oai_list:
#print '\nCleaning Older running programs : ' + CleanUpOldProgs
#print '\nCleaning Older running programs : ' + CleanUpOldProgs
#cleanOldPrograms(oai_list[index], CleanUpOldProgs)
#cleanOldPrograms(oai_list[index], CleanUpOldProgs)
index
=
index
+
1
except
Exception
,
e
:
except
Exception
,
e
:
print
'There is error in one of the commands to setup the machine '
+
MachineList
[
index
]
print
'There is error in one of the commands to setup the machine '
+
MachineList
[
index
]
error
=
''
error
=
''
...
...
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