mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
ran every test twice
This commit is contained in:
parent
46a83a2909
commit
0651d0200f
@ -9,8 +9,6 @@ TEST=$1
|
||||
LOG=$2
|
||||
|
||||
echo ">>>>>>> Starting test: $TEST <<<<<<<<"
|
||||
java -jar ../dist/cooja.jar -nogui -test=$TEST
|
||||
|
||||
java -jar ../dist/cooja.jar -nogui -test=$TEST
|
||||
if [ -f "COOJA.log" ]; then
|
||||
mv COOJA.log $TEST.cooja_log
|
||||
@ -24,8 +22,8 @@ if [ -f "$TEST.log" ]; then
|
||||
if [ -f "$TEST.info" ]; then
|
||||
echo "--LOG INFO START ($TEST.info) --" >> $LOG
|
||||
cat $TEST.info >> $LOG
|
||||
echo "--LOG INFO END --" >> $LOG
|
||||
echo "" >> $LOG
|
||||
echo "--LOG INFO END --" >> $LOG
|
||||
else
|
||||
echo "-- NO TEST INFO AVAILABLE ($TEST.info) --" >> $LOG
|
||||
fi
|
||||
@ -39,9 +37,11 @@ else
|
||||
if [ -f "$TEST.info" ]; then
|
||||
echo "--LOG INFO START ($TEST.info) --" >> $LOG
|
||||
cat $TEST.info >> $LOG
|
||||
echo "-- TEST INFO END --" >> $LOG
|
||||
echo "" >> $LOG
|
||||
echo "-- TEST INFO END --" >> $LOG
|
||||
else
|
||||
echo "-- NO TEST INFO AVAILABLE ($TEST.info) --" >> $LOG
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "" >> $LOG
|
||||
|
Loading…
Reference in New Issue
Block a user