]> matita.cs.unibo.it Git - helm.git/commitdiff
fix
authorEnrico Tassi <enrico.tassi@inria.fr>
Mon, 29 May 2006 20:41:16 +0000 (20:41 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Mon, 29 May 2006 20:41:16 +0000 (20:41 +0000)
helm/software/matita/tests/TPTP/try.sh

index eb1c3f9d125acdec63e719f584d5e5db52e200f2..12fc7effe0328809f3b3f5c72bf87ae73cf28e13 100755 (executable)
@@ -12,11 +12,11 @@ for X in $TODO; do
   echo -n "$X ... "
   LOGNAME=logs/log.`basename $X`
   ../../matitac.opt $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`
-    RATING=`grep "Rating" $X | sed 's/v.*//' | sed 's/(\*//'`
     echo OK $TIME $RATING
   else
-    echo FAIL
+    echo FAIL $RATING
   fi
 done