From ac59d1115e64d6b58c49c4fd34628cc7712657cb Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Sat, 25 Dec 2004 12:18:24 -0500 Subject: [svn-r9720] Purpose: Updated to call timekeeper with minutes. Also put all timekeeper output to a separated logfile. Platforms tested: Did not test since it is hard to test without starting the whole daily test. The change is trivial too. --- bin/runtest | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/runtest b/bin/runtest index ba49faa..7a5c11e 100755 --- a/bin/runtest +++ b/bin/runtest @@ -534,7 +534,7 @@ errcode=0 # error code of the whole test skiptest=no # if test is skipped CC_SAVED="$CC" # CC & PATH maybe changed within a test. PATH_SAVED=$PATH # These save the original values. -timelimit=`expr 3600 \* 5` # time limit for the timekeeper +timelimit=300 # time limit (minutes) for the timekeeper ################################# # Parse options @@ -625,6 +625,7 @@ PASSEDLOG=${LOGDIR}/PASSED_LOG_${TODAY} FAILEDLOG=${LOGDIR}/FAILED_LOG_${TODAY} SKIPPEDLOG=${LOGDIR}/SKIPPED_LOG_${TODAY} TIMELOG=${LOGDIR}/TIME_LOG_${TODAY} +TIMEKEEPERLOG=${LOGDIR}/TIMEKEEPER_LOG_${TODAY} CVSLOG=${LOGDIR}/CVS_LOG_${TODAY} CVSLOG_LOCK=${LOGDIR}/CVS_LOG_LOCK_${TODAY} DIFFLOG=${LOGDIR}/DIFF_LOG_${TODAY} @@ -753,7 +754,7 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then cd ${SNAPYARD}/log # Fork off timekeeper if concurrent tests will be used. if [ -n "$SRCDIR" ]; then - ($SNAPYARD/current/bin/timekeeper $timelimit &) + ($SNAPYARD/current/bin/timekeeper $timelimit > $TIMEKEEPERLOG 2>&1 &) PRINT " Fork off timekeeper $timelimit" fi n_test=0 -- cgit v0.12