X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=matita%2Fscripts%2Fprofile_svn.sh;h=70656ad1f36cebb5f51828d4bba45a1df2a4f90c;hb=8782ac2a08fa0308be55bb1338bb4f632b4fb541;hp=ba7d69806cbc4a99f62160079b0df881113b4f47;hpb=bf8a6aa5782c9b539ac6cf11ee68f20b7d2c83a6;p=helm.git diff --git a/matita/scripts/profile_svn.sh b/matita/scripts/profile_svn.sh index ba7d69806..70656ad1f 100755 --- a/matita/scripts/profile_svn.sh +++ b/matita/scripts/profile_svn.sh @@ -5,13 +5,13 @@ MARK=`date +%Y%m%d%H%M` 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 } @@ -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