]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/tests/TPTP/try.sh
fix
[helm.git] / helm / software / matita / tests / TPTP / try.sh
index 976513ae4747b183f015c366de3f68b1999bce50..6a875fa6bfcae9a69effd00158d8317073728313 100755 (executable)
@@ -12,7 +12,7 @@ i=1
 for X in $TODO; do
   echo -n "$X ... "
   LOGNAME=logs/log.`basename $X`
-  ../../matitac.opt -nodb $X 2>&1 | gzip -9 > $LOGNAME
+  ../../matitac.opt -nodb $X > $LOGNAME 2>&1
   RATING=`grep "Rating" $X | sed 's/v.*//' | sed 's/(\*//'`
   if [ `grep "Found a proof" $LOGNAME | wc -l` -gt 0 ]; then
     TIME=`grep "TIME NEEDED" $LOGNAME`
@@ -21,4 +21,5 @@ for X in $TODO; do
     echo FAIL $RATING $i
   fi
   i=`expr $i + 1`
+  gzip -9 -f $LOGNAME
 done