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
lizhongxiao
OpenXG-RAN
Commits
2bb20ac2
Commit
2bb20ac2
authored
Jan 27, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@4953
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
0453417c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
targets/TEST/OAI/case01.py
targets/TEST/OAI/case01.py
+9
-9
No files found.
targets/TEST/OAI/case01.py
View file @
2bb20ac2
...
...
@@ -149,7 +149,7 @@ def execute(oai, user, pw, logfile,logdir):
conf
=
'make ulsim'
trace
=
logdir
+
'/log_'
+
case
+
test
+
'.txt;'
tee
=
' 2>&1 | tee '
+
trace
diag
=
'check the compilation errors for
d
lsim in $OPENAIR1_DIR/SIMULATION/LTE_PHY'
diag
=
'check the compilation errors for
u
lsim in $OPENAIR1_DIR/SIMULATION/LTE_PHY'
oai
.
send
(
'make clean;'
)
oai
.
send
(
'rm -f ./ulsim.rel8;'
)
oai
.
send_expect_false
(
'make ulsim -j4'
+
tee
,
makerr1
,
1500
)
...
...
@@ -181,7 +181,7 @@ def execute(oai, user, pw, logfile,logdir):
try
:
test
=
'07'
name
=
'Compile oai.rel10.make'
conf
=
'make Rel10=1'
conf
=
'make R
LC_STOP_ON_LOST_PDU=1 R
el10=1'
trace
=
logdir
+
'/log_'
+
case
+
test
+
'.txt;'
tee
=
' 2>&1 | tee '
+
trace
diag
=
'check the compilation errors for Rel10'
...
...
@@ -189,7 +189,7 @@ def execute(oai, user, pw, logfile,logdir):
oai
.
send
(
'make cleanall;'
)
oai
.
send
(
'make cleanasn1;'
)
oai
.
send
(
'rm -f ./oaisim.rel10;'
)
oai
.
send_expect_false
(
'make Rel10=1 -j4'
+
tee
,
makerr1
,
1500
)
oai
.
send_expect_false
(
'make R
LC_STOP_ON_LOST_PDU=1 R
el10=1 -j4'
+
tee
,
makerr1
,
1500
)
oai
.
send
(
'cp ./oaisim ./oaisim.rel10;'
)
except
log
.
err
,
e
:
log
.
fail
(
case
,
test
,
name
,
conf
,
e
.
value
,
diag
,
logfile
,
trace
)
...
...
@@ -199,13 +199,13 @@ def execute(oai, user, pw, logfile,logdir):
try
:
test
=
'08'
name
=
'Compile oai.rel10.itti.make'
conf
=
'make DISABLE_XER_PRINT=1 ENABLE_ITTI=1 Rel10=1'
conf
=
'make DISABLE_XER_PRINT=1 ENABLE_ITTI=1 R
LC_STOP_ON_LOST_PDU=1 R
el10=1'
trace
=
logdir
+
'/log_'
+
case
+
test
+
'.txt;'
tee
=
' 2>&1 | tee '
+
trace
diag
=
'check the compilation errors for ITTI Rel10'
oai
.
send
(
'make cleanall;'
)
oai
.
send
(
'rm -f ./oaisim.rel10.itti;'
)
oai
.
send_expect_false
(
'make DISABLE_XER_PRINT=1 ENABLE_ITTI=1 Rel10=1 -j4'
+
tee
,
makerr1
,
1500
)
oai
.
send_expect_false
(
'make DISABLE_XER_PRINT=1 ENABLE_ITTI=1 R
LC_STOP_ON_LOST_PDU=1 R
el10=1 -j4'
+
tee
,
makerr1
,
1500
)
oai
.
send
(
'cp ./oaisim ./oaisim.rel10.itti;'
)
except
log
.
err
,
e
:
log
.
fail
(
case
,
test
,
name
,
conf
,
e
.
value
,
diag
,
logfile
,
trace
)
...
...
@@ -232,7 +232,7 @@ def execute(oai, user, pw, logfile,logdir):
try
:
test
=
'14'
name
=
'Compile oai.rel8.itti.ral.make'
conf
=
'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 Rel8=1'
conf
=
'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 R
LC_STOP_ON_LOST_PDU=1 R
el8=1'
trace
=
logdir
+
'/log_'
+
case
+
test
+
'.txt;'
tee
=
' 2>&1 | tee '
+
trace
diag
=
'check the compilation errors for ITTI Rel8'
...
...
@@ -240,7 +240,7 @@ def execute(oai, user, pw, logfile,logdir):
oai
.
send
(
'make cleanall;'
)
oai
.
send
(
'make cleanasn1;'
)
oai
.
send
(
'rm -f ./oaisim.rel8.itti.ral;'
)
oai
.
send_expect_false
(
'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 Rel8=1 -j4'
+
tee
,
makerr1
,
1500
)
oai
.
send_expect_false
(
'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 R
LC_STOP_ON_LOST_PDU=1 R
el8=1 -j4'
+
tee
,
makerr1
,
1500
)
oai
.
send
(
'cp ./oaisim ./oaisim.rel8.itti.ral;'
)
except
log
.
err
,
e
:
log
.
fail
(
case
,
test
,
name
,
conf
,
e
.
value
,
diag
,
logfile
,
trace
)
...
...
@@ -249,7 +249,7 @@ def execute(oai, user, pw, logfile,logdir):
try
:
test
=
'15'
name
=
'Compile oai.rel10.itti.ral.make'
conf
=
'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 Rel10=1'
conf
=
'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 R
LC_STOP_ON_LOST_PDU=1 R
el10=1'
trace
=
logdir
+
'/log_'
+
case
+
test
+
'.txt;'
tee
=
' 2>&1 | tee '
+
trace
diag
=
'check the compilation errors for ITTI Rel10'
...
...
@@ -257,7 +257,7 @@ def execute(oai, user, pw, logfile,logdir):
oai
.
send
(
'make cleanall;'
)
oai
.
send
(
'make cleanasn1;'
)
oai
.
send
(
'rm -f ./oaisim.rel10.itti.ral;'
)
oai
.
send_expect_false
(
'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 Rel10=1 -j4'
+
tee
,
makerr1
,
1500
)
oai
.
send_expect_false
(
'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 R
LC_STOP_ON_LOST_PDU=1 R
el10=1 -j4'
+
tee
,
makerr1
,
1500
)
oai
.
send
(
'cp ./oaisim ./oaisim.rel10.itti.ral;'
)
except
log
.
err
,
e
:
log
.
fail
(
case
,
test
,
name
,
conf
,
e
.
value
,
diag
,
logfile
,
trace
)
...
...
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