summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-12-25 17:18:19 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-12-25 17:18:19 (GMT)
commit1958630115676669224ded6101fc06cd7ef875b1 (patch)
treea7df67e1d904a85bfdc563f2aaf21cf07a4df2c1
parent1f8fb147104ad16c747e013ae373702946d109ec (diff)
downloadhdf5-1958630115676669224ded6101fc06cd7ef875b1.zip
hdf5-1958630115676669224ded6101fc06cd7ef875b1.tar.gz
hdf5-1958630115676669224ded6101fc06cd7ef875b1.tar.bz2
[svn-r9719] 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.
-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