X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Ftests%2FTPTP%2Ftry.sh;h=fdf8031b3a36ec7bb31fa1acce2bf2a02ee80607;hb=43a618149e49298eee810029141e2c19762a76dd;hp=12fc7effe0328809f3b3f5c72bf87ae73cf28e13;hpb=a7423900fb9e153daa0770b8355498875cf3e8e2;p=helm.git diff --git a/matita/tests/TPTP/try.sh b/matita/tests/TPTP/try.sh index 12fc7effe..fdf8031b3 100755 --- a/matita/tests/TPTP/try.sh +++ b/matita/tests/TPTP/try.sh @@ -1,5 +1,8 @@ #!/bin/sh +MATITAC=../../matitac.opt +#MATITAC=../../matitac + if [ -z "$1" ]; then TODO=Unsatisfiable/[A-Z]*.ma else @@ -8,15 +11,19 @@ fi mkdir -p logs +i=1 for X in $TODO; do echo -n "$X ... " LOGNAME=logs/log.`basename $X` - ../../matitac.opt $X > $LOGNAME 2>&1 + $MATITAC -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` - echo OK $TIME $RATING + MAXWEIGHT=`grep "max weight:" $LOGNAME` + echo OK $TIME $RATING $MAXWEIGHT $i else - echo FAIL $RATING + echo FAIL $RATING $i fi + i=`expr $i + 1` + gzip -f $LOGNAME done