Commit 0a05acc2 authored by Raphael Defosseux's avatar Raphael Defosseux

CI: fix reporting for L2-simulator

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 6271ca37
...@@ -468,11 +468,14 @@ function report_test { ...@@ -468,11 +468,14 @@ function report_test {
TRANS_MODES=("fdd") TRANS_MODES=("fdd")
BW_CASES=(05) BW_CASES=(05)
NB_USERS=(01 04)
for TMODE in ${TRANS_MODES[@]} for TMODE in ${TRANS_MODES[@]}
do do
for BW in ${BW_CASES[@]} for BW in ${BW_CASES[@]}
do
for UES in ${NB_USERS[@]}
do 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#"` UE_LOG=`echo $ENB_LOG | sed -e "s#enb#ue#"`
if [ -f $ENB_LOG ] && [ -f $UE_LOG ] if [ -f $ENB_LOG ] && [ -f $UE_LOG ]
then then
...@@ -512,9 +515,9 @@ function report_test { ...@@ -512,9 +515,9 @@ function report_test {
echo " </pre></td>" >> ./test_simulator_results.html echo " </pre></td>" >> ./test_simulator_results.html
echo " </tr>" >> ./test_simulator_results.html echo " </tr>" >> ./test_simulator_results.html
fi fi
PING_CASE=$ARCHIVES_LOC/${TMODE}_${BW}MHz_ping_epc.txt PING_LOGS=`ls $ARCHIVES_LOC/${TMODE}_${BW}MHz_${UES}users_ping*.txt`
if [ -f $PING_CASE ] for PING_CASE in $PING_LOGS
then do
echo " <tr>" >> ./test_simulator_results.html echo " <tr>" >> ./test_simulator_results.html
NAME=`echo $PING_CASE | sed -e "s#$ARCHIVES_LOC/##"` NAME=`echo $PING_CASE | sed -e "s#$ARCHIVES_LOC/##"`
echo " <td>$NAME</td>" >> ./test_simulator_results.html echo " <td>$NAME</td>" >> ./test_simulator_results.html
...@@ -548,9 +551,10 @@ function report_test { ...@@ -548,9 +551,10 @@ function report_test {
echo " </td>" >> ./test_simulator_results.html echo " </td>" >> ./test_simulator_results.html
fi fi
echo " </tr>" >> ./test_simulator_results.html echo " </tr>" >> ./test_simulator_results.html
fi done
done done
done
done done
echo " </table>" >> ./test_simulator_results.html echo " </table>" >> ./test_simulator_results.html
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment