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
ZhouShuya
OpenXG-RAN
Commits
a3ab1a90
Commit
a3ab1a90
authored
9 years ago
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 = []
#start_time = time.time() # datetime.datetime.now()
if
user
==
''
:
user
=
getpass
.
getuser
()
if
p
assword
==
''
:
if
p
w
==
''
:
pw
=
getpass
.
getpass
()
print
"host = "
+
host
print
"user = "
+
user
...
...
@@ -1094,7 +1094,7 @@ if GitOAI5GHeadVersion == '':
NFSTestsResultsDir
=
NFSResultsShare
+
'/'
+
GitOAI5GRepoBranch
+
'/'
+
GitOAI5GHeadVersion
+
'/'
print
"NFS
ResultsShareDir = "
+
NFSResultsShare
Dir
print
"NFS
TestsResultsDir = "
+
NFSTestsResults
Dir
MachineList
=
MachineList
.
split
()
MachineListGeneric
=
MachineListGeneric
.
split
()
...
...
@@ -1195,7 +1195,7 @@ print "cpu freq(MHz): " + str(cpu_freq) + "timeout(s): " + str(timeout)
#print result
#We now prepare the machines for testing
#
index=0
index
=
0
threads_init_setup
=
[]
for
oai
in
oai_list
:
try
:
...
...
@@ -1205,7 +1205,7 @@ for oai in oai_list:
#print oai_list[oai].send_recv('who am i')
#cleanUpPrograms(oai_list[oai]
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'
setup_script
=
locallogdir
+
'/setup_script_'
+
MachineList
[
index
]
+
'_.txt'
...
...
@@ -1269,6 +1269,7 @@ for oai in oai_list:
#print '\nCleaning Older running programs : ' + CleanUpOldProgs
#cleanOldPrograms(oai_list[index], CleanUpOldProgs)
index
=
index
+
1
except
Exception
,
e
:
print
'There is error in one of the commands to setup the machine '
+
MachineList
[
index
]
error
=
''
...
...
This diff is collapsed.
Click to expand it.
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