Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
9be0d13b
Commit
9be0d13b
authored
Dec 15, 2015
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commits to exclude certain tests + increase number of runs + duration of test cases
parent
9fd657d1
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
123 additions
and
117 deletions
+123
-117
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+25
-19
cmake_targets/autotests/test_case_list.xml
cmake_targets/autotests/test_case_list.xml
+98
-98
No files found.
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
View file @
9be0d13b
...
@@ -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,13 +835,24 @@ def handle_testcaseclass_softmodem (testcase, oldprogramList, logdirOAI5GRepo ,
...
@@ -840,13 +835,24 @@ 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
!=
""
:
testcase_exclusion_list
=
test_case_exclude
.
split
()
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
print
"
\n
Skipping test case as it is found in black list: "
+
testcasename
return
False
return
False
if
testcasegroup
==
''
:
if
testcasegroup
==
''
:
return
True
return
True
else
:
testcaselist
=
testcasegroup
.
split
()
testcaselist
=
testcasegroup
.
split
()
for
entry
in
testcaselist
:
for
entry
in
testcaselist
:
if
entry
.
find
(
'+'
)
>=
0
:
if
entry
.
find
(
'+'
)
>=
0
:
...
...
cmake_targets/autotests/test_case_list.xml
View file @
9be0d13b
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