summaryrefslogtreecommitdiffstats
path: root/bin/runtest
diff options
context:
space:
mode:
Diffstat (limited to 'bin/runtest')
-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.