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
e89413d1
Commit
e89413d1
authored
Feb 24, 2020
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: fixing the report on 5G NR RF simulation
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
a92f44e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ci-scripts/reportTestLocally.sh
ci-scripts/reportTestLocally.sh
+4
-4
No files found.
ci-scripts/reportTestLocally.sh
View file @
e89413d1
...
@@ -112,7 +112,7 @@ function analyzeIperfFiles {
...
@@ -112,7 +112,7 @@ function analyzeIperfFiles {
echo
" <td bgcolor =
\"
green
\"
>OK</td>"
>>
./test_simulator_results.html
echo
" <td bgcolor =
\"
green
\"
>OK</td>"
>>
./test_simulator_results.html
fi
fi
else
else
EFFECTIVE_BITRATE
=
`
tail
-n3
$IPERF_CASE
| egrep
"
Mbits/sec"
|
sed
-e
"s#^.*M
Bytes *##"
-e
"s#sec.*#sec#"
`
EFFECTIVE_BITRATE
=
`
tail
-n3
$IPERF_CASE
| egrep
"
bits/sec"
|
sed
-e
"s#^.*
Bytes *##"
-e
"s#sec.*#sec#"
`
if
[[
$EFFECTIVE_BITRATE
=
~ .
*
Kbits/sec.
*
]]
if
[[
$EFFECTIVE_BITRATE
=
~ .
*
Kbits/sec.
*
]]
then
then
EFFECTIVE_BITRATE
=
`
echo
$EFFECTIVE_BITRATE
|
sed
-e
"s# *Kbits/sec.*##"
`
EFFECTIVE_BITRATE
=
`
echo
$EFFECTIVE_BITRATE
|
sed
-e
"s# *Kbits/sec.*##"
`
...
@@ -136,9 +136,9 @@ function analyzeIperfFiles {
...
@@ -136,9 +136,9 @@ function analyzeIperfFiles {
else
else
echo
" <td bgcolor =
\"
green
\"
>OK</td>"
>>
./test_simulator_results.html
echo
" <td bgcolor =
\"
green
\"
>OK</td>"
>>
./test_simulator_results.html
fi
fi
EFFECTIVE_BITRATE
=
`
tail
-n3
$IPERF_CASE
| egrep
"
Mbits/sec"
|
sed
-e
"s#^.*M
Bytes *##"
-e
"s#sec.*#sec#"
`
EFFECTIVE_BITRATE
=
`
tail
-n3
$IPERF_CASE
| egrep
"
bits/sec"
|
sed
-e
"s#^.*
Bytes *##"
-e
"s#sec.*#sec#"
`
JITTER
=
`
tail
-n3
$IPERF_CASE
| egrep
"
Mbits/sec"
|
sed
-e
"s#^.*M
bits/sec *##"
-e
"s#ms.*#ms#"
`
JITTER
=
`
tail
-n3
$IPERF_CASE
| egrep
"
bits/sec"
|
sed
-e
"s#^.*
bits/sec *##"
-e
"s#ms.*#ms#"
`
PACKETLOSS
=
`
tail
-n3
$IPERF_CASE
| egrep
"
M
bits/sec"
|
sed
-e
"s#^.*(##"
-e
"s#).*##"
`
PACKETLOSS
=
`
tail
-n3
$IPERF_CASE
| egrep
"bits/sec"
|
sed
-e
"s#^.*(##"
-e
"s#).*##"
`
fi
fi
echo
" <td>"
>>
./test_simulator_results.html
echo
" <td>"
>>
./test_simulator_results.html
echo
" <pre>"
>>
./test_simulator_results.html
echo
" <pre>"
>>
./test_simulator_results.html
...
...
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