summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2006-01-08 20:54:36 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2006-01-08 20:54:36 (GMT)
commitc456b43f63f3cb52a2e818739d2056c12df46c6e (patch)
tree8858c96af9c9f7eafcfc1e26f58fc8cb6b7161d0 /bin
parent05516d7ac4640de51d104c4d8766cf5c3454cb55 (diff)
downloadhdf5-c456b43f63f3cb52a2e818739d2056c12df46c6e.zip
hdf5-c456b43f63f3cb52a2e818739d2056c12df46c6e.tar.gz
hdf5-c456b43f63f3cb52a2e818739d2056c12df46c6e.tar.bz2
[svn-r11870] Purpose:
Bug fix. Description: Fixed a typo and also moved initialization of n_xxxx variables to the common declaration place. Platforms tested: Tested by hand only. WIll see how daily tests work out.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runtest10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/runtest b/bin/runtest
index e3b3f71..af6434d 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -44,6 +44,10 @@ TODAY=`date +%y%m%d`
WEEKDAY=`date +%a`
H5VER= # default to current CVS version
H5VERSION= # default to current CVS version
+n_test=0 # Number of tests ran
+n_pass=0 # Number of tests passed
+n_fail=0 # Number of tests failed
+n_skip=0 # Number of tests skipped
# Default to do checkout (only once) and test, no release.
# Will run test only if there is significant differences from previous version.
@@ -146,7 +150,7 @@ PRINT_TRAILER()
{
PRINT "*** finished tests in $HOSTNAME ***"
date; TotalEndTime=`SecOfDay`
- PRINT "${HOSTNAME}: Ran $n_test($n_pass/$n_fail/$n_fail) $runtest_type, Grand total test time = " \
+ PRINT "${HOSTNAME}: Ran $n_test($n_pass/$n_fail/$n_skip) $runtest_type, Grand total test time = " \
"`ElapsedTime $TotalStartTime $TotalEndTime`" | tee -a $TIMELOG
PRINT_BLANK
}
@@ -838,10 +842,6 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then
($SNAPYARD/current/bin/timekeeper $timelimit > $TIMEKEEPERLOG 2>&1 &)
PRINT " Fork off timekeeper $timelimit"
fi
- n_test=0
- n_pass=0
- n_fail=0
- n_skip=0
runtest_type="hosts"
for h in $TESTHOST; do
# Must do CONFIGNAME before $h got changed by the second cut.