Commit 84a73e85 authored by Raphael Defosseux's avatar Raphael Defosseux

CI: proper factorisation on basic-sim and l2-sim tests

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 735de401
...@@ -215,6 +215,14 @@ function report_test { ...@@ -215,6 +215,14 @@ function report_test {
BW_CASES=(05 10 20) BW_CASES=(05 10 20)
for TMODE in ${TRANS_MODES[@]} for TMODE in ${TRANS_MODES[@]}
do do
echo " <tr bgcolor = \"#8FBC8F\" >" >> ./test_simulator_results.html
if [[ $TMODE =~ .*fdd.* ]]
then
echo " <td align = \"center\" colspan = 4 >Test in FDD</td>" >> ./test_simulator_results.html
else
echo " <td align = \"center\" colspan = 4 >Test in TDD</td>" >> ./test_simulator_results.html
fi
echo " </tr>" >> ./test_simulator_results.html
for BW in ${BW_CASES[@]} for BW in ${BW_CASES[@]}
do do
ENB_LOG=$ARCHIVES_LOC/${TMODE}_${BW}MHz_enb.log ENB_LOG=$ARCHIVES_LOC/${TMODE}_${BW}MHz_enb.log
...@@ -526,7 +534,7 @@ function report_test { ...@@ -526,7 +534,7 @@ 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_LOGS=`ls $ARCHIVES_LOC/${TMODE}_${BW}MHz_${UES}users_${CN_CONFIG}_ping*.txt` PING_LOGS=`ls $ARCHIVES_LOC/${TMODE}_${BW}MHz_${UES}users_${CN_CONFIG}_ping*.log`
for PING_CASE in $PING_LOGS for PING_CASE in $PING_LOGS
do do
echo " <tr>" >> ./test_simulator_results.html echo " <tr>" >> ./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