diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2006-01-10 13:17:14 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2006-01-10 13:17:14 (GMT) |
commit | bdb6d1af4f07e69faa9f04290cdf428907c5a4cf (patch) | |
tree | 23d8931d45ad585081653086b53ae5bbb4aa3e47 | |
parent | df8739d8c61206c3e7acb42930efc54a37cf16b7 (diff) | |
download | hdf5-bdb6d1af4f07e69faa9f04290cdf428907c5a4cf.zip hdf5-bdb6d1af4f07e69faa9f04290cdf428907c5a4cf.tar.gz hdf5-bdb6d1af4f07e69faa9f04290cdf428907c5a4cf.tar.bz2 |
[svn-r11877] Purpose:
Bug fix.
Description:
Fixed a typo and also moved initialization of n_xxxx variables to the
common declaration place.
Platforms tested:
Tested in v1.6 branch already.
-rwxr-xr-x | bin/runtest | 10 |
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. |