X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fscripts%2Fprofile_svn.sh;h=c0eb466a5caf4da8814ef16c9e6edce6748a77bf;hb=8423682054bead9ef906bdd8c15d6e0fbd5a2194;hp=b5ddfb0f622a553ee82f8f06af05d4884f989a10;hpb=75d36e622c861daf7093c56456e59156300f0b54;p=helm.git diff --git a/helm/software/matita/scripts/profile_svn.sh b/helm/software/matita/scripts/profile_svn.sh index b5ddfb0f6..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 @@ -66,8 +66,8 @@ compile $PWD/helm/software/ 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\)" | \ - lua50 $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