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
alex037yang
OpenXG-RAN
Commits
d1f6c1c1
Commit
d1f6c1c1
authored
Jan 17, 2016
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-34-test_framework' into develop
parents
8ffaca89
6bab0de2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+9
-4
No files found.
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
View file @
d1f6c1c1
...
...
@@ -1018,11 +1018,11 @@ MachineList = ''
MachineListGeneric
=
''
flag_remove_logdir
=
False
flag_start_testcase
=
False
nruns_lte_softmodem
=
''
print
"Number of arguments argc = "
+
str
(
len
(
sys
.
argv
))
for
index
in
range
(
1
,
len
(
sys
.
argv
)
):
print
"argv_"
+
str
(
index
)
+
" : "
+
sys
.
argv
[
index
]
#
for index in range(1,len(sys.argv) ):
#
print "argv_" + str(index) + " : " + sys.argv[index]
i
=
1
while
i
<
len
(
sys
.
argv
):
...
...
@@ -1060,6 +1060,9 @@ while i < len (sys.argv):
elif
arg
==
'-n'
:
NFSResultsShare
=
sys
.
argv
[
i
+
1
]
i
=
i
+
1
elif
arg
==
'--nrun_lte_softmodem'
:
nruns_lte_softmodem
=
sys
.
argv
[
i
+
1
]
i
=
i
+
1
elif
arg
==
'-MachineList'
:
MachineList
=
sys
.
argv
[
i
+
1
]
MachineList
=
MachineList
.
replace
(
"
\"
"
,
""
)
...
...
@@ -1080,6 +1083,7 @@ while i < len (sys.argv):
print
"-u: use the user name passed as argument"
print
"-p: use the password passed as an argument"
print
"-n: Set the NFS share passed as an argument"
print
"--nrun_lte_softmodem: Set the number of runs for lte-softmodem test case class"
print
"-MachineList : overrides the MachineList parameter in test_case_list.xml"
print
"-MachineListGeneric : overrides the MachineListGeneric parameter in test_case_list.xml"
sys
.
exit
()
...
...
@@ -1172,7 +1176,8 @@ if MachineListGeneric == '':
MachineListGeneric
=
xmlRoot
.
findtext
(
'MachineListGeneric'
,
default
=
''
)
TestCaseExclusionList
=
xmlRoot
.
findtext
(
'TestCaseExclusionList'
,
default
=
''
)
ExmimoRfStop
=
xmlRoot
.
findtext
(
'ExmimoRfStop'
,
default
=
''
)
nruns_lte_softmodem
=
xmlRoot
.
findtext
(
'nruns_lte-softmodem'
,
default
=
''
)
if
nruns_lte_softmodem
==
''
:
nruns_lte_softmodem
=
xmlRoot
.
findtext
(
'nruns_lte-softmodem'
,
default
=
''
)
print
"MachineList = "
+
MachineList
print
"GitOpenair-cnRepo = "
+
GitOpenaircnRepo
...
...
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