Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Qingqing Huang
openairinterface5G
Commits
7b954dac
Commit
7b954dac
authored
9 years ago
by
Rohit Gupta
Browse files
Options
Downloads
Patches
Plain Diff
commits to exclude certain tests + increase number of runs + duration of test cases
parent
3ae32f4d
No related branches found
No related tags found
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
+25
-19
25 additions, 19 deletions
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
cmake_targets/autotests/test_case_list.xml
+98
-98
98 additions, 98 deletions
cmake_targets/autotests/test_case_list.xml
with
123 additions
and
117 deletions
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+
25
−
19
View file @
7b954dac
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
cmake_targets/autotests/test_case_list.xml
+
98
−
98
View file @
7b954dac
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