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
2ad43fcb
Commit
2ad43fcb
authored
9 years ago
by
Rohit Gupta
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into enhancement-57-UHD-interfacing
parents
9eac7ac6
f0991907
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+27
-20
27 additions, 20 deletions
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
cmake_targets/autotests/test_case_list.xml
+99
-99
99 additions, 99 deletions
cmake_targets/autotests/test_case_list.xml
with
126 additions
and
119 deletions
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+
27
−
20
View file @
2ad43fcb
...
@@ -52,11 +52,6 @@ import re
...
@@ -52,11 +52,6 @@ import re
import
numpy
as
np
import
numpy
as
np
import
log
import
log
import
case01
import
case02
import
case03
import
case04
import
case05
from
openair
import
*
from
openair
import
*
...
@@ -840,22 +835,33 @@ def handle_testcaseclass_softmodem (testcase, oldprogramList, logdirOAI5GRepo ,
...
@@ -840,22 +835,33 @@ def handle_testcaseclass_softmodem (testcase, oldprogramList, logdirOAI5GRepo ,
#This function searches if test case is present in list of test cases that need to be executed by user
#This function searches if test case is present in list of test cases that need to be executed by user
def
search_test_case_group
(
testcasename
,
testcasegroup
,
search_
test_case_
group
):
def
search_test_case_group
(
testcasename
,
testcasegroup
,
test_case_
exclude
):
if
search_test_case_group
.
find
(
testcasename
)
>=
0
:
if
test_case_exclude
!=
""
:
print
"
\n
Skipping test case as it is found in black list:
"
+
testcasename
testcase_exclusion_list
=
test_case_exclude
.
split
()
return
False
for
entry
in
testcase_exclusion_list
:
if
entry
.
find
(
'
+
'
)
>=
0
:
match
=
re
.
search
(
entry
,
testcasename
)
if
match
:
print
"
\n
Skipping test case as it is found in black list:
"
+
testcasename
return
False
else
:
match
=
entry
.
find
(
testcasename
)
if
match
>=
0
:
print
"
\n
Skipping test case as it is found in black list:
"
+
testcasename
return
False
if
testcasegroup
==
''
:
if
testcasegroup
==
''
:
return
True
return
True
testcaselist
=
testcasegroup
.
split
()
else
:
for
entry
in
testcaselist
:
testcaselist
=
testcasegroup
.
split
()
if
entry
.
find
(
'
+
'
)
>=
0
:
for
entry
in
testcaselist
:
match
=
re
.
search
(
entry
,
testcasename
)
if
entry
.
find
(
'
+
'
)
>=
0
:
if
match
:
match
=
re
.
search
(
entry
,
testcasename
)
return
True
if
match
:
else
:
return
True
match
=
testcasename
.
find
(
entry
)
else
:
if
match
>=
0
:
match
=
testcasename
.
find
(
entry
)
if
match
>=
0
:
return
True
return
True
return
False
return
False
...
@@ -917,7 +923,8 @@ while i < len (sys.argv):
...
@@ -917,7 +923,8 @@ while i < len (sys.argv):
print
"
-d: low debug level
"
print
"
-d: low debug level
"
print
"
-dd: high debug level
"
print
"
-dd: high debug level
"
print
"
-p: set the prompt
"
print
"
-p: set the prompt
"
print
"
-r: Remove the log directory in autotests/
"
print
"
-r: Remove the log directory in autotests
"
print
"
-g: Run test cases in a group
"
print
"
-w: set the password for ssh to localhost
"
print
"
-w: set the password for ssh to localhost
"
print
"
-l: use local shell instead of ssh connection
"
print
"
-l: use local shell instead of ssh connection
"
print
"
-t: set the time out in second for commands
"
print
"
-t: set the time out in second for commands
"
...
...
This diff is collapsed.
Click to expand it.
cmake_targets/autotests/test_case_list.xml
+
99
−
99
View file @
2ad43fcb
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