X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Fscripts%2Fdo_tests.sh;h=b8df5141895d7c96a59e1c6bb9e292431dc82b2c;hb=d0c88a989d2c41d0b816c5490d4d8c89a238cb2a;hp=e8e4ddda4e9cc19e1b9dbcc8418f0a22e5b989c8;hpb=1276d3c7b85f4edc049a5d68a6120816fe64c806;p=helm.git diff --git a/helm/matita/scripts/do_tests.sh b/helm/matita/scripts/do_tests.sh index e8e4ddda4..b8df51418 100755 --- a/helm/matita/scripts/do_tests.sh +++ b/helm/matita/scripts/do_tests.sh @@ -15,6 +15,7 @@ fi COMPILER=$1 shift +CLEANCOMPILER=`echo $COMPILER | cut -d ' ' -f 1` CLEANER=$1 shift LOGFILE=$1 @@ -45,7 +46,7 @@ DIFF=.__diff export TIMEFORMAT="%2lR %2lU %2lS" for T in $TODO; do - printf "$COMPILER\t%-30s " $T + printf "$CLEANCOMPILER\t%-30s " $T if [ "$TWICE" = "1" ]; then $CLEANER $T 1>/dev/null 2>/dev/null $COMPILER $T 1>/dev/null 2>/dev/null @@ -62,9 +63,9 @@ for T in $TODO; do else diff $LOG `basename $T .ma`.log > $DIFF RC=$? - rm -f $LOG fi fi + rm -f $LOG if [ $RC = 0 ]; then printf "$OK\t$TIMES\t$DO_TESTS_EXTRA\n" else