summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-10-03 07:03:12 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-10-03 07:03:12 (GMT)
commit3a5775730692aee12252f9bd636f2d63f6c80296 (patch)
treed47012fb96682b4940ef7494596b896ba2774f1c
parent2fda38ead08a5f3a70c627c4d02742f3d025d954 (diff)
downloadhdf5-3a5775730692aee12252f9bd636f2d63f6c80296.zip
hdf5-3a5775730692aee12252f9bd636f2d63f6c80296.tar.gz
hdf5-3a5775730692aee12252f9bd636f2d63f6c80296.tar.bz2
[svn-r4514] Purpose:
feature Description: Ignore blank lines in the config file too. Platforms tested: Eirene.
-rwxr-xr-xbin/runtest9
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/runtest b/bin/runtest
index 01df332..7d12481 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -1,5 +1,4 @@
#! /bin/sh
-# $Id$
# run the hdf5/bin/snapshot
# Usage:
# runtest run the test for the local host
@@ -41,7 +40,6 @@ SNAPCMD="$SRCDIR test clean"
# Default Standard snaptest command options
STANDARD_OPT=""
ENABLE_PARALLEL="--enable-parallel"
-#SNAPCMD="$SRCDIR --enable-stream-vfd --enable-static-exec test clean"
#***************
# Various hosts
@@ -369,7 +367,8 @@ RUNSNAPTEST()
# This should be invoke with configure file as stdin.
# Syntax of the configure file:
# All lines started with the # are comment lines and are ignored.
-# Each line starts with a "Scope" followed by test types.
+# Blank lines are ignored too.
+# Each config line starts with a "Scope" followed by test types.
#
# Scope can be:
# standard ... # what the standard test types are.
@@ -396,8 +395,8 @@ SNAPTEST_CONFIG_PARSE()
x=`echo $x | cut -f2 -d/`
fi
case "$x" in
- '#'*)
- # comment. Continue.
+ '' | '#'*)
+ # blank or comment lines. Continue.
;;
???/*)
# Ignore any entry not of this weekday.