X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fscripts%2Fprofile_svn.sh;h=c0eb466a5caf4da8814ef16c9e6edce6748a77bf;hb=e880d6eab5e1700f4a625ddcd7d0fa8f0cce2dcc;hp=296ad125d62024aa8ac1f0ab88c75d60ee158084;hpb=1b302b03cc8c23844baa5f941a4a637dd39fac3b;p=helm.git diff --git a/helm/software/matita/scripts/profile_svn.sh b/helm/software/matita/scripts/profile_svn.sh index 296ad125d..c0eb466a5 100755 --- a/helm/software/matita/scripts/profile_svn.sh +++ b/helm/software/matita/scripts/profile_svn.sh @@ -12,8 +12,8 @@ function testit { LOGTOOPT=/dev/null LOGTOBYTE=/dev/null export BENCH_EXTRA_TEXT="$MARK $@" - make tests make tests.opt + #make tests } function compile { @@ -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 "^matitac" | grep -v "interactive" |\ + lua5.1 $PWD/helm/software/matita/scripts/functions.lua log2sql - > INSERT.sql cat INSERT.sql | $MYSQL #save the revision