X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Fscripts%2Fprofile_cvs.sh;h=c3f19c03f56fdb8413d24ff34090baea67212474;hb=244b44d6490eeb5f7cb89e83cfb6e22e9394ba11;hp=384f64260cc4f4d0d9b0c0c09abc0c022edc8423;hpb=663f8e1c82196b9e3f817bf059edcfcfe22993c3;p=helm.git diff --git a/helm/matita/scripts/profile_cvs.sh b/helm/matita/scripts/profile_cvs.sh index 384f64260..c3f19c03f 100755 --- a/helm/matita/scripts/profile_cvs.sh +++ b/helm/matita/scripts/profile_cvs.sh @@ -8,8 +8,8 @@ function testit { LOGTOOPT=/dev/null LOGTOBYTE=/dev/null export DO_TESTS_EXTRA="$MARK\t$@" - scripts/do_tests.sh -no-color ./matitac.opt $LOGTOOPT tests/*.ma - scripts/do_tests.sh -no-color ./matitac $LOGTOBYTE tests/*.ma + scripts/do_tests.sh -no-color -twice ./matitac.opt $LOGTOOPT tests/*.ma + scripts/do_tests.sh -no-color -twice ./matitac $LOGTOBYTE tests/*.ma } function compile { @@ -31,10 +31,8 @@ function run_tests { OLD=$PWD cd $1 export OCAMLRUNPARAM='o=1000000' - testit "gc-off" 1>/dev/null 2>/dev/null testit "gc-off" export OCAMLRUNPARAM='' - testit "gc-on" 1>/dev/null 2>/dev/null testit "gc-on" cd $OLD } @@ -46,7 +44,7 @@ cd $TMPDIRNAME cvs -d $CVSROOT co helm/ocaml 1>/dev/null 2>/dev/null cvs -d $CVSROOT co helm/matita 1>/dev/null 2>/dev/null compile $PWD/helm/ocaml $PWD/helm/matita -run_tests $PWD/helm/matita > LOG +run_tests $PWD/helm/matita > LOG 2>/dev/null cat LOG | awk -f $PWD/helm/matita/scripts/insert.awk > INSERT.sql cat INSERT.sql | mysql -u helm -h mowgli.cs.unibo.it matita cd $OLD