summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-12-25 17:18:24 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-12-25 17:18:24 (GMT)
commitac59d1115e64d6b58c49c4fd34628cc7712657cb (patch)
treeadc1e1e0a2d6fb0aaec68816511c7c50ccfe70fc /bin
parent5972ef28fda562871cd72c1c83f301cd27acef74 (diff)
downloadhdf5-ac59d1115e64d6b58c49c4fd34628cc7712657cb.zip
hdf5-ac59d1115e64d6b58c49c4fd34628cc7712657cb.tar.gz
hdf5-ac59d1115e64d6b58c49c4fd34628cc7712657cb.tar.bz2
[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.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runtest5
1 files 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