summaryrefslogtreecommitdiffstats
path: root/bin/runtest
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-12-23 23:42:57 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-12-23 23:42:57 (GMT)
commit9d241be57f05f133edf360a87a83405edd160545 (patch)
treeeca396cfec887829db85da4c4c6f31fcfcea8984 /bin/runtest
parentf381ef7b599b1950b63da3ed815095066e6f4454 (diff)
downloadhdf5-9d241be57f05f133edf360a87a83405edd160545.zip
hdf5-9d241be57f05f133edf360a87a83405edd160545.tar.gz
hdf5-9d241be57f05f133edf360a87a83405edd160545.tar.bz2
[svn-r9714] Purpose:
bug fix Description: Setup the time limit with the wrong unit concept. 300 is only 300 seconds, not 300 minutes. Set them to the correct values.
Diffstat (limited to 'bin/runtest')
-rwxr-xr-xbin/runtest6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/runtest b/bin/runtest
index bb7ae64..75e78dc 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -528,7 +528,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
#################################
# Parse options
@@ -747,8 +747,8 @@ 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 300 &)
- PRINT " Fork off timekeeper 300"
+ ($SNAPYARD/current/bin/timekeeper $timelimit &)
+ PRINT " Fork off timekeeper $timelimit"
fi
n_test=0
runtest_type="hosts"