From 4843de74101594824604347fdfe14f69d3c84f3a Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Sat, 28 May 2005 16:07:16 -0500 Subject: [svn-r10819] Purpose: Use timelimit file to specify the time limit for timekeeper. --- bin/runtest | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/runtest b/bin/runtest index 1b610e6..7caf6f9 100755 --- a/bin/runtest +++ b/bin/runtest @@ -647,6 +647,7 @@ DIFFLOG=${LOGDIR}/DIFF_LOG_${TODAY} # Snap Test hosts and Configuration files ALLHOSTSFILE=${SNAPYARD}/allhostfile SNAPTESTCFG=${SNAPYARD}/snaptest.cfg +TIMELIMIT=${SNAPYARD}/timelimit TMPFILE="${LOGDIR}/#runtest.${TODAY}.$$" # more processing of setup option if requested @@ -783,6 +784,7 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then cd ${SNAPYARD}/log # Fork off timekeeper if concurrent tests will be used. if [ -n "$SRCDIR" ]; then + timelimit=`cat $TIMELIMIT` ($SNAPYARD/current/bin/timekeeper $timelimit > $TIMEKEEPERLOG 2>&1 &) PRINT " Fork off timekeeper $timelimit" fi -- cgit v0.12