summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-12-23 23:24:36 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-12-23 23:24:36 (GMT)
commit82bc963f4c1bd4792372e9812b5a7a8fd1edd926 (patch)
treebf5f81eb6f51fcd63f6f9f7b435b64241c2d520a /bin
parentd633f49400b6dde60ec5a3657a3525ef6febc03c (diff)
downloadhdf5-82bc963f4c1bd4792372e9812b5a7a8fd1edd926.zip
hdf5-82bc963f4c1bd4792372e9812b5a7a8fd1edd926.tar.gz
hdf5-82bc963f4c1bd4792372e9812b5a7a8fd1edd926.tar.bz2
[svn-r9713] 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')
-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