diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2001-10-24 18:06:47 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2001-10-24 18:06:47 (GMT) |
commit | c6dba899babe7557492d16eb28a3e35cabbc6a3d (patch) | |
tree | 775bbda3f23e24261c581a39b66e1a8a52717337 /bin | |
parent | 6d4bd9f242b94ab08a00116b10721163991d7a81 (diff) | |
download | hdf5-c6dba899babe7557492d16eb28a3e35cabbc6a3d.zip hdf5-c6dba899babe7557492d16eb28a3e35cabbc6a3d.tar.gz hdf5-c6dba899babe7557492d16eb28a3e35cabbc6a3d.tar.bz2 |
[svn-r4570] Purpose:
Improvement
Description:
Removed the hard coding of all the test hosts. Let it be defined
in a file.
Platforms tested:
Eirene
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/runtest | 54 |
1 files changed, 9 insertions, 45 deletions
diff --git a/bin/runtest b/bin/runtest index 880e6d5..61decae 100755 --- a/bin/runtest +++ b/bin/runtest @@ -41,46 +41,7 @@ SNAPCMD="$SRCDIR test clean" STANDARD_OPT="" ENABLE_PARALLEL="--enable-parallel" -#*************** -# Various hosts -#*************** -# DEC -# Gondolin: DEC -#DECHOST="skydive" # skydive is dead. - # gondolin rsh/ssh don't work. run as alone-host. -# HP -# sangamon: HPUX 10 -# kelgia: HPUX 11 -HPHOST="kelgia sangamon" # HPUX 10 & 11 - -# Linux -# Dangermouse, eirene: Linux -# Dangermouse used to die if gmake -j is used. -LINUXHOST=eirene - -# SGI O2K -# modi4: R10K, IRIX64 6.5, default to -64,-mips4 -# Testing {parallel,serial}x{-64,-n32}x -O2KHOST=modi4 -# regular, unleaded, premium: -# R10K, IRIX64 6.5, default to -n32,-mips4 -# impact7: R4400, IRIX 6.5, default to -n32,-mips3 -# o2-N: R10K, IRIX 6.5, default to -n32,-mips4 -# paz: R4400, IRIX 6.5, default to -n32,-mips3 -SGIHOST="regular impact7 o2-3" - -# Sun -SUNHOST="arabica baldric" # solaris 2.6 and 2.7 - -# FreeBSD -# AFS does not work well in hawkwind. Use NFS/local space for its -# test directory. ssh does not work for it either. -FREEBSDHOST="hawkwind" - -# set up default all hosts to test -ALLHOSTS="$O2KHOST $SUNHOST $SGIHOST $HPHOST $LINUXHOST $DECHOST $FREEBSDHOST" - -# test hosts +# test host default as local host. TESTHOST="" ################################# @@ -515,7 +476,7 @@ while [ $# -gt 0 ]; do PROGNAME="$PROGNAME $H5VER" ;; -all) - # cannot assign ALLHOSTS yet. + # Test all hosts. TESTHOST=-all ;; -nocvs) @@ -554,11 +515,14 @@ 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 + if [ -f $ALLHOSTSFILE ]; then + TESTHOST=`sed -e s/#.*// $ALLHOSTSFILE` + else + PRINT "could not access the all-hosts-file ($ALLHOSTSFILE)" + USAGE + exit 1 + fi fi |