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
47 svn co -N $SVNROOT > LOG.svn 2>&1
49 svn update -N helm >> LOG.svn 2>&1
51 svn update ocaml >> LOG.svn 2>&1
52 svn update matita >> LOG.svn 2>&1
58 export HOME="`pwd`/../$TMPDIRNAME.HOME"
59 compile $PWD/helm/ocaml $PWD/helm/matita
62 run_tests $PWD/helm/matita > LOG 2>/dev/null
64 cat LOG | grep "\(OK\|FAIL\)" | grep "\(gc-on\|gc-off\)" | awk -f $PWD/helm/matita/scripts/insert.awk > INSERT.sql
65 cat INSERT.sql | mysql -u helm -h mowgli.cs.unibo.it matita