TMPDIRNAME=__${MARK}_compilation
SVNROOT="svn+ssh://mowgli.cs.unibo.it/local/svn/helm/trunk/"
MYSQL="mysql -u helm -h mowgli.cs.unibo.it matita"
-SVNLOG=$TMPDIRNAME/LOG.svn
+SVNLOG=LOG.svn
#helpers
function testit {
LOGTOOPT=/dev/null
LOGTOBYTE=/dev/null
- export BENCH_EXTRA_TEXT="$MARK\t$@"
+ export BENCH_EXTRA_TEXT="$MARK $@"
make tests
make tests.opt
}
LOCALOLD=$PWD
cd $1
./matitaclean all
- export OCAMLRUNPARAM='o=100000'
- testit "gc-off"
+ #export OCAMLRUNPARAM='o=100000'
+ #testit "gc-off"
export OCAMLRUNPARAM=''
testit "gc-on"
cd $LOCALOLD
#compile
export HOME="`pwd`/../$TMPDIRNAME.HOME"
+export USER="bench"
compile $PWD/helm/software/
#run
run_tests $PWD/helm/software/matita > LOG 2>LOG.run_tests.err
#insert the db
-cat LOG | grep "\(OK\|FAIL\)" | grep "\(gc-on\|gc-off\)" | \
- $PWD/helm/software/matita/scripts/functions.lua log2sql - > INSERT.sql
+cat LOG | grep "\(OK\|FAIL\)" | grep "\(gc-on\|gc-off\)" | grep -v "bad_tests" | grep -v "interactive" |\
+ lua5.1 $PWD/helm/software/matita/scripts/functions.lua log2sql - > INSERT.sql
cat INSERT.sql | $MYSQL
#save the revision