From 35a79812d8013ca08381b1d45b018a94994c9c4c Mon Sep 17 00:00:00 2001 From: fros4943 Date: Thu, 18 Sep 2008 07:25:27 +0000 Subject: [PATCH] some more debugging info --- tools/cooja/contiki_tests/RUN_ALL | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/tools/cooja/contiki_tests/RUN_ALL b/tools/cooja/contiki_tests/RUN_ALL index c6be090f7..d86092e5b 100644 --- a/tools/cooja/contiki_tests/RUN_ALL +++ b/tools/cooja/contiki_tests/RUN_ALL @@ -15,19 +15,23 @@ rm -f *.log *.cooja_log rm -fr se obj_cooja 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 <<<<<<<<" rm -f *.log LOG="TEST-`date '+%F'`.log" touch $LOG echo "" >> $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 do TEST=`basename $myfile .csc` @@ -36,5 +40,6 @@ do done echo ">>>>>>> Sending mail <<<<<<<<" +echo "Mailing test report" >> $LOG cp $LOG ~/lastlog.log cat $LOG | mail -s "Contiki test results" $MAILTO