X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fscripts%2Fprofile_svn.sh;h=8a77eae00f9a7b6f45318cb235308fc1c149dc34;hb=68dbcd02022874a025a9444aa1125b0458816fbb;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..8a77eae00 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