diff --git a/ci-scripts/reportTestLocally.sh b/ci-scripts/reportTestLocally.sh index 3a03ff7595..ed2f0ffe03 100755 --- a/ci-scripts/reportTestLocally.sh +++ b/ci-scripts/reportTestLocally.sh @@ -767,38 +767,49 @@ function report_test { echo " " >> ./test_simulator_results.html #RA test + #check formatting + + echo " " >> ./test_simulator_results.html + echo " ENB LOG file --- UE LOG file " >> ./test_simulator_results.html + echo " Check RA succeeded" >> ./test_simulator_results.html + echo " KO" >> ./test_simulator_results.html + echo "
" >> ./test_simulator_results.html
+                echo "No check yet" >> ./test_simulator_results.html
+                echo "        
" >> ./test_simulator_results.html + echo " " >> ./test_simulator_results.html + #RH file names to be checked - RA_ENB_LOG=$ARCHIVES_LOC/RA_CHECK_${TMODE}_${BW}prb_${CN_CONFIG}_gnb.log - UE_LOG=`echo $ENB_LOG | sed -e "s#gnb#ue#"` - RA_UE_LOG= + #RA_ENB_LOG=$ARCHIVES_LOC/RA_CHECK_${TMODE}_${BW}prb_${CN_CONFIG}_gnb.log + #UE_LOG=`echo $ENB_LOG | sed -e "s#gnb#ue#"` + #RA_UE_LOG= - if [ -f $ENB_LOG ] && [ -f $UE_LOG ] - then - #RH file names to be checked - NAME_ENB=`echo $ENB_LOG | sed -e "s#$ARCHIVES_LOC/##"` - NAME_UE=`echo $UE_LOG | sed -e "s#$ARCHIVES_LOC/##"` - echo " " >> ./test_simulator_results.html - echo " $NAME_ENB --- $NAME_UE" >> ./test_simulator_results.html - echo " N/A" >> ./test_simulator_results.html + #if [ -f $ENB_LOG ] && [ -f $UE_LOG ] + #then + # #RH file names to be checked + # NAME_ENB=`echo $ENB_LOG | sed -e "s#$ARCHIVES_LOC/##"` + # NAME_UE=`echo $UE_LOG | sed -e "s#$ARCHIVES_LOC/##"` + # echo " " >> ./test_simulator_results.html + # echo " $NAME_ENB --- $NAME_UE" >> ./test_simulator_results.html + # echo " N/A" >> ./test_simulator_results.html - #gNB RA check - GNB_RECEIVED=`egrep -c "received correctly" $RA_ENB_LOG` - GNB_CONNECTED=`egrep -c "now 5G connected" $RA_ENB_LOG` - #UE RA check - UE_RA_PROC_OK=`egrep -c "RA procedure succeeded" $RA_UE_LOG` + # #gNB RA check + # GNB_RECEIVED=`egrep -c "received correctly" $RA_ENB_LOG` + # GNB_CONNECTED=`egrep -c "now 5G connected" $RA_ENB_LOG` + # #UE RA check + # UE_RA_PROC_OK=`egrep -c "RA procedure succeeded" $RA_UE_LOG` - if [ $GNB_RECEIVED -gt 0 ] && [ $GNB_CONNECTED -gt 0 ] && [ $UE_RA_PROC_OK -gt 0 ] - then - echo " OK" >> ./test_simulator_results.html - else - echo " KO" >> ./test_simulator_results.html - fi + # if [ $GNB_RECEIVED -gt 0 ] && [ $GNB_CONNECTED -gt 0 ] && [ $UE_RA_PROC_OK -gt 0 ] + # then + # echo " OK" >> ./test_simulator_results.html + # else + # echo " KO" >> ./test_simulator_results.html + # fi - echo " " >> ./test_simulator_results.html - echo " " >> ./test_simulator_results.html - fi + # echo " " >> ./test_simulator_results.html + # echo " " >> ./test_simulator_results.html + #fi #sync test ENB_LOG=$ARCHIVES_LOC/${TMODE}_${BW}prb_${CN_CONFIG}_gnb.log