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
promise
OpenXG-RAN
Commits
6f2de9af
Commit
6f2de9af
authored
Oct 20, 2015
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add the option to run group tests from build_oai script
parent
5e3e221b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
cmake_targets/build_oai
cmake_targets/build_oai
+14
-1
No files found.
cmake_targets/build_oai
View file @
6f2de9af
...
@@ -50,6 +50,8 @@ HW="EXMIMO"
...
@@ -50,6 +50,8 @@ HW="EXMIMO"
EPC
=
0
EPC
=
0
VERBOSE_COMPILE
=
0
VERBOSE_COMPILE
=
0
CFLAGS_PROCESSOR_USER
=
""
CFLAGS_PROCESSOR_USER
=
""
RUN_GROUP
=
0
TEST_CASE_GROUP
=
""
function
print_help
()
{
function
print_help
()
{
echo_info
'
echo_info
'
...
@@ -95,6 +97,8 @@ Options
...
@@ -95,6 +97,8 @@ Options
Makes the core security features unitary simulators
Makes the core security features unitary simulators
-s | --check
-s | --check
runs a set of auto-tests based on simulators and several compilation tests
runs a set of auto-tests based on simulators and several compilation tests
--run-group
runs only specified test cases specified here. This flag is only valid with -s
-V | --vcd
-V | --vcd
Adds a debgging facility to the binary files: GUI with major internal synchronization events
Adds a debgging facility to the binary files: GUI with major internal synchronization events
-x | --xforms
-x | --xforms
...
@@ -193,6 +197,11 @@ function main() {
...
@@ -193,6 +197,11 @@ function main() {
OAI_TEST
=
1
OAI_TEST
=
1
echo_info
"Will run auto-tests"
echo_info
"Will run auto-tests"
shift
;;
shift
;;
--run-group
)
RUN_GROUP
=
1
TEST_CASE_GROUP
=
$2
echo_info
"executing test cases only in group:
$TEST_CASE_GROUP
"
shift
2
;;
-V
|
--vcd
)
-V
|
--vcd
)
echo_info
"setting gtk-wave output"
echo_info
"setting gtk-wave output"
VCD_TIMING
=
1
VCD_TIMING
=
1
...
@@ -575,7 +584,11 @@ function main() {
...
@@ -575,7 +584,11 @@ function main() {
echo_info
"10. Running OAI pre commit tests (pre-ci) ..."
echo_info
"10. Running OAI pre commit tests (pre-ci) ..."
rm
-fr
$OPENAIR_DIR
/cmake_targets/autotests/log
rm
-fr
$OPENAIR_DIR
/cmake_targets/autotests/log
mkdir
-p
$OPENAIR_DIR
/cmake_targets/autotests/log
mkdir
-p
$OPENAIR_DIR
/cmake_targets/autotests/log
$SUDO
$OPENAIR_DIR
/cmake_targets/autotests/run_exec_autotests.bash
if
[
"
$RUN_GROUP
"
-eq
"1"
]
;
then
$SUDO
$OPENAIR_DIR
/cmake_targets/autotests/run_exec_autotests.bash
-g
"
$TEST_CASE_GROUP
"
else
$SUDO
$OPENAIR_DIR
/cmake_targets/autotests/run_exec_autotests.bash
fi
else
else
echo_info
"10. Bypassing the Tests ..."
echo_info
"10. Bypassing the Tests ..."
fi
fi
...
...
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