mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[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).
This commit is contained in:
parent
fe309eda4f
commit
3027c02d0b
15
bin/runtest
15
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
|
||||
@ -489,6 +490,18 @@ CVSLOG_LOCK=${SNAPYARD}/log/CVS_LOG_LOCK_${TODAY}
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user