2 MARK=`date +%Y%m%d%H%M`
3 TMPDIRNAME=__${MARK}_compilation
4 SVNROOT="svn+ssh://mowgli.cs.unibo.it/local/svn/helm/trunk/"
9 export DO_TESTS_EXTRA="$MARK\t$@"
10 make tests DO_TESTS_OPTS="-no-color -twice -keep-logs"
11 make tests.opt DO_TESTS_OPTS="-no-color -twice -keep-logs"
18 ./configure 1>/dev/null
19 make all opt 1>/dev/null
22 ./configure 1>/dev/null
23 cp matita.conf.xml.sample matita.conf.xml
24 make all opt 1>/dev/null
33 export OCAMLRUNPARAM='o=1000000'
35 export OCAMLRUNPARAM=''
43 mkdir $TMPDIRNAME.HOME
48 svn co -N $SVNROOT > $SVNLOG 2>&1
50 svn update -N helm >> $SVNLOG 2>&1
52 svn update $SVNOPTIONS ocaml >> $SVNLOG 2>&1
53 svn update $SVNOPTIONS matita >> $SVNLOG 2>&1
59 export HOME="`pwd`/../$TMPDIRNAME.HOME"
60 compile $PWD/helm/ocaml $PWD/helm/matita
63 run_tests $PWD/helm/matita > LOG 2>/dev/null
65 cat LOG | grep "\(OK\|FAIL\)" | grep "\(gc-on\|gc-off\)" | awk -f $PWD/helm/matita/scripts/insert.awk > INSERT.sql
66 cat INSERT.sql | mysql -u helm -h mowgli.cs.unibo.it matita
67 SVNREVISION=`cat $SVNLOG | grep revision | tail -n 1 | sed "s/.*revision \(\w\+\)./\1/"`
68 echo "INSERT INTO bench_svn VALUES ('$MARK','$SVNREVISION')" | mysql -u helm -h mowgli.cs.unibo.it matita