summaryrefslogtreecommitdiffstats
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
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.
-rwxr-xr-xbin/runtest6
-rwxr-xr-xbin/timekeeper2
2 files changed, 4 insertions, 4 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"
diff --git a/bin/timekeeper b/bin/timekeeper
index f94f746..34d1a49 100755
--- a/bin/timekeeper
+++ b/bin/timekeeper
@@ -20,7 +20,7 @@
# Created Date: 2004/12/23
# variable initialization
-waitperiod=300 # default to 5 hours
+waitperiod=`expr 3600 \* 5` # default to 5 hours
debugtimelimit=
debugflag= # no debug