mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-11 03:29:51 +00:00
some more debugging info
This commit is contained in:
parent
29eb6ecba4
commit
35a79812d8
@ -15,19 +15,23 @@ rm -f *.log *.cooja_log
|
|||||||
rm -fr se obj_cooja
|
rm -fr se obj_cooja
|
||||||
rm -f symbols.c symbols.h
|
rm -f symbols.c symbols.h
|
||||||
|
|
||||||
echo ">>>>>>> Updating from CVS <<<<<<<<"
|
|
||||||
(cd $CONTIKI && cvs update -dP)
|
|
||||||
|
|
||||||
echo ">>>>>>> Building COOJA <<<<<<<<"
|
|
||||||
(cd $CONTIKI/tools/cooja && ant clean && ant jar)
|
|
||||||
|
|
||||||
echo ">>>>>>> Creating test log <<<<<<<<"
|
echo ">>>>>>> Creating test log <<<<<<<<"
|
||||||
rm -f *.log
|
rm -f *.log
|
||||||
LOG="TEST-`date '+%F'`.log"
|
LOG="TEST-`date '+%F'`.log"
|
||||||
touch $LOG
|
touch $LOG
|
||||||
echo "" >> $LOG
|
echo "" >> $LOG
|
||||||
echo "Starting test run ($LOG)"
|
echo "Starting test run ($LOG)"
|
||||||
|
echo "Test started: ($LOG)" >> $LOG
|
||||||
|
|
||||||
|
echo ">>>>>>> Updating from CVS <<<<<<<<"
|
||||||
|
echo "Updating anonymous Sourceforge CVS" >> $LOG
|
||||||
|
(cd $CONTIKI && cvs update -dP)
|
||||||
|
|
||||||
|
echo ">>>>>>> Building COOJA <<<<<<<<"
|
||||||
|
echo "Building COOJA" >> $LOG
|
||||||
|
(cd $CONTIKI/tools/cooja && ant clean && ant jar)
|
||||||
|
|
||||||
|
echo "Starting tests" >> $LOG
|
||||||
for myfile in ./*.csc
|
for myfile in ./*.csc
|
||||||
do
|
do
|
||||||
TEST=`basename $myfile .csc`
|
TEST=`basename $myfile .csc`
|
||||||
@ -36,5 +40,6 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
echo ">>>>>>> Sending mail <<<<<<<<"
|
echo ">>>>>>> Sending mail <<<<<<<<"
|
||||||
|
echo "Mailing test report" >> $LOG
|
||||||
cp $LOG ~/lastlog.log
|
cp $LOG ~/lastlog.log
|
||||||
cat $LOG | mail -s "Contiki test results" $MAILTO
|
cat $LOG | mail -s "Contiki test results" $MAILTO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user