mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
including test log in test report
This commit is contained in:
parent
0083cc2080
commit
b55b825a60
@ -27,16 +27,19 @@ if [ $LOGFILE -eq 1 ]; then
|
|||||||
if [ $OK == 0 ]; then
|
if [ $OK == 0 ]; then
|
||||||
echo "FAIL" >> $LOG
|
echo "FAIL" >> $LOG
|
||||||
if [ -f "$TEST.info" ]; then
|
if [ -f "$TEST.info" ]; then
|
||||||
echo "--LOG INFO START ($TEST.info) --" >> $LOG
|
echo "-- TEST INFO ($TEST.info) --" >> $LOG
|
||||||
cat $TEST.info >> $LOG
|
cat $TEST.info >> $LOG
|
||||||
echo "--LOG INFO END --" >> $LOG
|
|
||||||
else
|
else
|
||||||
echo "-- NO LOG INFO AVAILABLE ($TEST.info) --" >> $LOG
|
echo "-- NO TEST INFO AVAILABLE ($TEST.info) --" >> $LOG
|
||||||
fi
|
fi
|
||||||
echo "-- OUTPUT TAIL START ($TEST.cooja_log) --" >> $LOG
|
if [ -f "$TEST.log" ]; then
|
||||||
|
echo "-- TEST OUTPUT (tail $TEST.log) --" >> $LOG
|
||||||
|
tail -5 $TEST.log >> $LOG
|
||||||
|
else
|
||||||
|
echo "-- NO TEST OUTPUT AVAILABLE ($TEST.log) --" >> $LOG
|
||||||
|
fi
|
||||||
|
echo "-- COOJA OUTPUT (tail $TEST.cooja_log) --" >> $LOG
|
||||||
tail -5 $TEST.cooja_log >> $LOG
|
tail -5 $TEST.cooja_log >> $LOG
|
||||||
echo "-- OUTPUT TAIL END --" >> $LOG
|
|
||||||
echo >> $LOG
|
|
||||||
else
|
else
|
||||||
echo "OK" >> $LOG
|
echo "OK" >> $LOG
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user