summaryrefslogtreecommitdiffstats
path: root/bin/runtest
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-10-24 18:06:50 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-10-24 18:06:50 (GMT)
commit46af16f87be6a9977e14a99609063a82c81eba45 (patch)
tree9f0eb13b8c3ebf7353f5f5c60c8286e71405c95d /bin/runtest
parentb6da4ea427fabe5b1440586dd53667f77809854d (diff)
downloadhdf5-46af16f87be6a9977e14a99609063a82c81eba45.zip
hdf5-46af16f87be6a9977e14a99609063a82c81eba45.tar.gz
hdf5-46af16f87be6a9977e14a99609063a82c81eba45.tar.bz2
[svn-r4571] 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/runtest')
-rwxr-xr-xbin/runtest54
1 files changed, 9 insertions, 45 deletions
diff --git a/bin/runtest b/bin/runtest
index 8df9a55..3728c15 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