diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2001-07-17 14:32:17 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2001-07-17 14:32:17 (GMT) |
commit | 3027c02d0b834b0ce1511725c6c3e1adf5c95b8d (patch) | |
tree | 863b727e78d363f2e92b229dfe7b99676de1ce23 /bin | |
parent | fe309eda4fa2012789b947b2471081725d18e27c (diff) | |
download | hdf5-3027c02d0b834b0ce1511725c6c3e1adf5c95b8d.zip hdf5-3027c02d0b834b0ce1511725c6c3e1adf5c95b8d.tar.gz hdf5-3027c02d0b834b0ce1511725c6c3e1adf5c95b8d.tar.bz2 |
[svn-r4228] Purpose:
Feature
Description:
Added the feature that ALLHOSTS can be set via the file
allhostfile in the snapshot directory. This reduces the
need to modify runtest for hosts changes.
Platforms tested:
eirene (did dry runs).
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/runtest | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/bin/runtest b/bin/runtest index 9ec4518..9237786 100755 --- a/bin/runtest +++ b/bin/runtest @@ -456,7 +456,8 @@ while [ $# -gt 0 ]; do PROGNAME="$PROGNAME $H5VER" ;; -all) - TESTHOST=$ALLHOSTS + # cannot assign ALLHOSTS yet. + TESTHOST=-all ;; -nocvs) # do not do cvs commands @@ -490,6 +491,18 @@ SNAPTESTCFG=${SNAPYARD}/snaptest.cfg ################################# +# Setup test host(s) +################################# +ALLHOSTSFILE=${SNAPYARD}/allhostfile +if [ -f $ALLHOSTSFILE ]; then + ALLHOSTS=`grep -v '#' $ALLHOSTSFILE` +fi +if [ "$TESTHOST" = -all ]; then + TESTHOST=$ALLHOSTS +fi + + +################################# # Setup to print a trailer summary when exiting not via # the normal end of the script. ################################# |