summaryrefslogtreecommitdiffstats
path: root/bin/runtest
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-04-16 21:11:45 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-04-16 21:11:45 (GMT)
commit3198f06a63b2f8d6933c4c68f6285cf3d635b3bb (patch)
treedfb2fdc8b64cdcd6fffc4700a08f6e34cfe03d4d /bin/runtest
parente2d71db8b1abcbcc498d5768c7a02674c0b08d34 (diff)
downloadhdf5-3198f06a63b2f8d6933c4c68f6285cf3d635b3bb.zip
hdf5-3198f06a63b2f8d6933c4c68f6285cf3d635b3bb.tar.gz
hdf5-3198f06a63b2f8d6933c4c68f6285cf3d635b3bb.tar.bz2
[svn-r6692] Purpose:
feature. Description: Added the option of "setenv3" which sets the environment variable that has three components like env AR="ar -X 64". It is another kludge like setenv2. Got to code in a better 'setenv' option. Platforms tested: Copper (because its -64 compiling needs that AR set as above). Eirene (where it usually launches). Did not do h5committest which does not test bin/runtest. Misc. update:
Diffstat (limited to 'bin/runtest')
-rwxr-xr-xbin/runtest9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/runtest b/bin/runtest
index 3afa711..6194348 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -309,6 +309,15 @@ RUNSNAPTEST()
export $1
shift; shift
;;
+ setenv3)
+ # set environment variable with 3 values
+ # a kludge now--the extra single quotes are needed
+ # else eval complains.
+ shift
+ eval $1="'$2 $3 $4'"
+ export $1
+ shift; shift; shift
+ ;;
skip)
# skip this test
skiptest=yes