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
Bin He
openairinterface5G
Commits
0a05acc2
Commit
0a05acc2
authored
5 years ago
by
Raphael Defosseux
Browse files
Options
Downloads
Patches
Plain Diff
CI: fix reporting for L2-simulator
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
6271ca37
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
ci-scripts/reportTestLocally.sh
+10
-6
10 additions, 6 deletions
ci-scripts/reportTestLocally.sh
ci-scripts/runTestOnVM.sh
+83
-44
83 additions, 44 deletions
ci-scripts/runTestOnVM.sh
with
93 additions
and
50 deletions
ci-scripts/reportTestLocally.sh
+
10
−
6
View file @
0a05acc2
...
...
@@ -468,11 +468,14 @@ function report_test {
TRANS_MODES
=(
"fdd"
)
BW_CASES
=(
05
)
NB_USERS
=(
01 04
)
for
TMODE
in
${
TRANS_MODES
[@]
}
do
for
BW
in
${
BW_CASES
[@]
}
for
BW
in
${
BW_CASES
[@]
}
do
for
UES
in
${
NB_USERS
[@]
}
do
ENB_LOG
=
$ARCHIVES_LOC
/
${
TMODE
}
_
${
BW
}
MHz_enb.log
ENB_LOG
=
$ARCHIVES_LOC
/
${
TMODE
}
_
${
BW
}
MHz_
${
UES
}
users_
enb.log
UE_LOG
=
`
echo
$ENB_LOG
|
sed
-e
"s#enb#ue#"
`
if
[
-f
$ENB_LOG
]
&&
[
-f
$UE_LOG
]
then
...
...
@@ -512,9 +515,9 @@ function report_test {
echo
" </pre></td>"
>>
./test_simulator_results.html
echo
" </tr>"
>>
./test_simulator_results.html
fi
PING_
CASE
=
$ARCHIVES_LOC
/
${
TMODE
}
_
${
BW
}
MHz_
ping_epc
.txt
if
[
-f
$
PING_CASE
]
then
PING_
LOGS
=
`
ls
$ARCHIVES_LOC
/
${
TMODE
}
_
${
BW
}
MHz_
${
UES
}
users_ping
*
.txt
`
for
PING_CASE
in
$PING_LOGS
do
echo
" <tr>"
>>
./test_simulator_results.html
NAME
=
`
echo
$PING_CASE
|
sed
-e
"s#
$ARCHIVES_LOC
/##"
`
echo
" <td>
$NAME
</td>"
>>
./test_simulator_results.html
...
...
@@ -548,9 +551,10 @@ function report_test {
echo
" </td>"
>>
./test_simulator_results.html
fi
echo
" </tr>"
>>
./test_simulator_results.html
fi
done
done
done
done
echo
" </table>"
>>
./test_simulator_results.html
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/runTestOnVM.sh
+
83
−
44
View file @
0a05acc2
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