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)
commit52a46001cbeeb902d0fe7779ddcbbf0da0907c15 (patch)
treee8b79879acaa50d9b7c1ee6859998e3b14e68931 /bin/runtest
parent04706dbdbef4098f5fd82fdd18a134615713cd58 (diff)
downloadhdf5-52a46001cbeeb902d0fe7779ddcbbf0da0907c15.zip
hdf5-52a46001cbeeb902d0fe7779ddcbbf0da0907c15.tar.gz
hdf5-52a46001cbeeb902d0fe7779ddcbbf0da0907c15.tar.bz2
[svn-r7965] 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