From 466a377e6e664be7533cbd5932c0551e42cad630 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Sat, 24 Dec 2005 13:44:54 +0000 Subject: [PATCH] more fix --- helm/matita/scripts/crontab.sh | 4 ++-- helm/matita/scripts/profile_svn.sh | 13 +++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/helm/matita/scripts/crontab.sh b/helm/matita/scripts/crontab.sh index d5b581943..d4a2e5e5a 100644 --- a/helm/matita/scripts/crontab.sh +++ b/helm/matita/scripts/crontab.sh @@ -14,8 +14,8 @@ mkdir -p $TMPDIRNAME rm -rf $TMPDIRNAMEOLD cd $TMPDIRNAME rm -rf helm -svn co ${SVNROOT}helm/matita/scripts/profile_svn.sh ./ > LOG.svn 2>&1 -profile_svn.sh 2> LOG +svn co ${SVNROOT}helm/matita/scripts/ > LOG.svn 2>&1 +scripts/profile_svn.sh 2> LOG MARK=`echo "select distinct mark from bench where mark like '$TODAY%' order by mark" | mysql -u helm matita | tail -n 1` LASTMARK=`echo "select distinct mark from bench where mark like '$YESTERDAY%' order by mark" | mysql -u helm matita | tail -n 1` diff --git a/helm/matita/scripts/profile_svn.sh b/helm/matita/scripts/profile_svn.sh index 6265e4d9d..2527d9203 100755 --- a/helm/matita/scripts/profile_svn.sh +++ b/helm/matita/scripts/profile_svn.sh @@ -42,18 +42,23 @@ rm -rf $TMPDIRNAME mkdir $TMPDIRNAME mkdir $TMPDIRNAME.HOME cd $TMPDIRNAME -svn co -N $SVNROOT + +#svn +svn co -N $SVNROOT > LOG.svn 2>&1 cd trunk -svn update -N helm +svn update -N helm >> LOG.svn 2>&1 cd helm -svn update ocaml -svn update matita +svn update ocaml >> LOG.svn 2>&1 +svn update matita >> LOG.svn 2>&1 cd .. cd .. ln -s trunk/helm . +#compile export HOME="`pwd`/../$TMPDIRNAME.HOME" compile $PWD/helm/ocaml $PWD/helm/matita + +#run run_tests $PWD/helm/matita > LOG 2>/dev/null cat LOG | grep "\(OK\|FAIL\)" | grep "\(gc-on\|gc-off\)" | awk -f $PWD/helm/matita/scripts/insert.awk > INSERT.sql -- 2.39.2