]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/scripts/profile_svn.sh
mod change (-x)
[helm.git] / helm / software / matita / scripts / profile_svn.sh
old mode 100755 (executable)
new mode 100644 (file)
index 4c415e0..c0eb466
@@ -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,7 +66,7 @@ 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\)" | \
+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