X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fscripts%2Fprofile_svn.sh;h=70656ad1f36cebb5f51828d4bba45a1df2a4f90c;hb=26bd030af58a7f4a5dff3c41ad5431e31e851d3e;hp=41b0dbf2614264eea5d3ca8bc3e2b7da255e6f33;hpb=7b8e3b2132a264c2ab74a34ec48b3cdc75cc5c99;p=helm.git diff --git a/matita/scripts/profile_svn.sh b/matita/scripts/profile_svn.sh index 41b0dbf26..70656ad1f 100755 --- a/matita/scripts/profile_svn.sh +++ b/matita/scripts/profile_svn.sh @@ -11,7 +11,7 @@ SVNLOG=LOG.svn function testit { LOGTOOPT=/dev/null LOGTOBYTE=/dev/null - export BENCH_EXTRA_TEXT="$MARK\t$@" + export BENCH_EXTRA_TEXT="$MARK $@" make tests make tests.opt } @@ -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,6 +59,7 @@ ln -s trunk/helm . #compile export HOME="`pwd`/../$TMPDIRNAME.HOME" +export USER="bench" compile $PWD/helm/software/ #run @@ -66,7 +67,7 @@ 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 + lua5.1 $PWD/helm/software/matita/scripts/functions.lua log2sql - > INSERT.sql cat INSERT.sql | $MYSQL #save the revision