summaryrefslogtreecommitdiffstats
path: root/bin/runtest
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-12-16 21:34:24 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-12-16 21:34:24 (GMT)
commitb7ede363d42ce1e6cc26e2720ad7d02dd715edc0 (patch)
treed4f05d8a396ac90c0b56c82cae680dee495ec82b /bin/runtest
parente5a200f939117910454cb16b0112577b8ad9ea0d (diff)
downloadhdf5-b7ede363d42ce1e6cc26e2720ad7d02dd715edc0.zip
hdf5-b7ede363d42ce1e6cc26e2720ad7d02dd715edc0.tar.gz
hdf5-b7ede363d42ce1e6cc26e2720ad7d02dd715edc0.tar.bz2
[svn-r7964] Purpose:
feature Description: Added the ability to handle srcdirname as the build-directory. Platforms tested: No h5comittest but tested in LANL QSC machine.
Diffstat (limited to 'bin/runtest')
-rwxr-xr-xbin/runtest5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/runtest b/bin/runtest
index b0b27f5..edbdf22 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -332,6 +332,10 @@ RUNSNAPTEST()
# skip this test
skiptest=yes
;;
+ srcdirname)
+ shift
+ SRCDIRNAME=$1
+ ;;
*) # unknown test
PRINT "$0: unknown type of test ($1)"
retcode=1
@@ -407,6 +411,7 @@ RUNSNAPTEST()
# set environment variable with <N> values
# e.g., setenvN 3 x a b c is same as setenv x="a b c".
# skip skip this test
+# srcdirname <name> use <name> as the build-directory.
SNAPTEST_CONFIG_PARSE()
{
while read x y ; do