2 MARK=`date +%Y%m%d%H%M`
3 TMPDIRNAME=__${MARK}_compilation
4 CVSROOT=":ext:$USER@marcello.cs.unibo.it:/home/faculty/PROJECTS/cvs/helm"
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
45 cvs -d $CVSROOT co helm/ocaml 1>/dev/null 2>/dev/null
46 cvs -d $CVSROOT co helm/matita 1>/dev/null 2>/dev/null
48 export HOME="`pwd`/../$TMPDIRNAME.HOME"
49 compile $PWD/helm/ocaml $PWD/helm/matita
50 run_tests $PWD/helm/matita > LOG 2>/dev/null
52 cat LOG | grep "\(OK\|FAIL\)" | grep "\(gc-on\|gc-off\)" | awk -f $PWD/helm/matita/scripts/insert.awk > INSERT.sql
53 cat INSERT.sql | mysql -u helm -h mowgli.cs.unibo.it matita