X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fscripts%2Fprofile_svn.sh;h=72105b2e0dedd33d08808457be82f87ec7f2e08f;hb=41c84b305a3e46a972f7fe955c300757a4cfb3ca;hp=296ad125d62024aa8ac1f0ab88c75d60ee158084;hpb=4d1f0f4c6828aa67797b312ec6b790378c297f5a;p=helm.git diff --git a/matita/scripts/profile_svn.sh b/matita/scripts/profile_svn.sh index 296ad125d..72105b2e0 100755 --- a/matita/scripts/profile_svn.sh +++ b/matita/scripts/profile_svn.sh @@ -29,8 +29,8 @@ function run_tests { 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 @@ -59,14 +59,15 @@ ln -s trunk/helm . #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