Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OAI-RAN-5G-sheduler_MaxTBS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MAQ5G-PFC
OAI-RAN-5G-sheduler_MaxTBS
Commits
d1f6c1c1
Commit
d1f6c1c1
authored
9 years ago
by
Rohit Gupta
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature-34-test_framework' into develop
parents
8ffaca89
6bab0de2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+9
-4
9 additions, 4 deletions
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
with
9 additions
and
4 deletions
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+
9
−
4
View file @
d1f6c1c1
...
@@ -1018,11 +1018,11 @@ MachineList = ''
...
@@ -1018,11 +1018,11 @@ MachineList = ''
MachineListGeneric
=
''
MachineListGeneric
=
''
flag_remove_logdir
=
False
flag_remove_logdir
=
False
flag_start_testcase
=
False
flag_start_testcase
=
False
nruns_lte_softmodem
=
''
print
"
Number of arguments argc =
"
+
str
(
len
(
sys
.
argv
))
print
"
Number of arguments argc =
"
+
str
(
len
(
sys
.
argv
))
for
index
in
range
(
1
,
len
(
sys
.
argv
)
):
#
for index in range(1,len(sys.argv) ):
print
"
argv_
"
+
str
(
index
)
+
"
:
"
+
sys
.
argv
[
index
]
#
print "argv_" + str(index) + " : " + sys.argv[index]
i
=
1
i
=
1
while
i
<
len
(
sys
.
argv
):
while
i
<
len
(
sys
.
argv
):
...
@@ -1060,6 +1060,9 @@ while i < len (sys.argv):
...
@@ -1060,6 +1060,9 @@ while i < len (sys.argv):
elif
arg
==
'
-n
'
:
elif
arg
==
'
-n
'
:
NFSResultsShare
=
sys
.
argv
[
i
+
1
]
NFSResultsShare
=
sys
.
argv
[
i
+
1
]
i
=
i
+
1
i
=
i
+
1
elif
arg
==
'
--nrun_lte_softmodem
'
:
nruns_lte_softmodem
=
sys
.
argv
[
i
+
1
]
i
=
i
+
1
elif
arg
==
'
-MachineList
'
:
elif
arg
==
'
-MachineList
'
:
MachineList
=
sys
.
argv
[
i
+
1
]
MachineList
=
sys
.
argv
[
i
+
1
]
MachineList
=
MachineList
.
replace
(
"
\"
"
,
""
)
MachineList
=
MachineList
.
replace
(
"
\"
"
,
""
)
...
@@ -1080,6 +1083,7 @@ while i < len (sys.argv):
...
@@ -1080,6 +1083,7 @@ while i < len (sys.argv):
print
"
-u: use the user name passed as argument
"
print
"
-u: use the user name passed as argument
"
print
"
-p: use the password passed as an argument
"
print
"
-p: use the password passed as an argument
"
print
"
-n: Set the NFS share 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
"
-MachineList : overrides the MachineList parameter in test_case_list.xml
"
print
"
-MachineListGeneric : overrides the MachineListGeneric parameter in test_case_list.xml
"
print
"
-MachineListGeneric : overrides the MachineListGeneric parameter in test_case_list.xml
"
sys
.
exit
()
sys
.
exit
()
...
@@ -1172,6 +1176,7 @@ if MachineListGeneric == '':
...
@@ -1172,6 +1176,7 @@ if MachineListGeneric == '':
MachineListGeneric
=
xmlRoot
.
findtext
(
'
MachineListGeneric
'
,
default
=
''
)
MachineListGeneric
=
xmlRoot
.
findtext
(
'
MachineListGeneric
'
,
default
=
''
)
TestCaseExclusionList
=
xmlRoot
.
findtext
(
'
TestCaseExclusionList
'
,
default
=
''
)
TestCaseExclusionList
=
xmlRoot
.
findtext
(
'
TestCaseExclusionList
'
,
default
=
''
)
ExmimoRfStop
=
xmlRoot
.
findtext
(
'
ExmimoRfStop
'
,
default
=
''
)
ExmimoRfStop
=
xmlRoot
.
findtext
(
'
ExmimoRfStop
'
,
default
=
''
)
if
nruns_lte_softmodem
==
''
:
nruns_lte_softmodem
=
xmlRoot
.
findtext
(
'
nruns_lte-softmodem
'
,
default
=
''
)
nruns_lte_softmodem
=
xmlRoot
.
findtext
(
'
nruns_lte-softmodem
'
,
default
=
''
)
print
"
MachineList =
"
+
MachineList
print
"
MachineList =
"
+
MachineList
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment