summaryrefslogtreecommitdiffstats
path: root/bin/runtest
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-05-28 21:07:16 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-05-28 21:07:16 (GMT)
commit4843de74101594824604347fdfe14f69d3c84f3a (patch)
tree57d48a0b95d44ead000a3a2ec4e8a5d138f1f19a /bin/runtest
parente7bcc265ebdbb86007c35151630d264bd90c78b4 (diff)
downloadhdf5-4843de74101594824604347fdfe14f69d3c84f3a.zip
hdf5-4843de74101594824604347fdfe14f69d3c84f3a.tar.gz
hdf5-4843de74101594824604347fdfe14f69d3c84f3a.tar.bz2
[svn-r10819] Purpose:
Use timelimit file to specify the time limit for timekeeper.
Diffstat (limited to 'bin/runtest')
-rwxr-xr-xbin/runtest2
1 files changed, 2 insertions, 0 deletions
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