diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2003-04-16 21:11:45 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2003-04-16 21:11:45 (GMT) |
commit | 3198f06a63b2f8d6933c4c68f6285cf3d635b3bb (patch) | |
tree | dfb2fdc8b64cdcd6fffc4700a08f6e34cfe03d4d /bin/runtest | |
parent | e2d71db8b1abcbcc498d5768c7a02674c0b08d34 (diff) | |
download | hdf5-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-x | bin/runtest | 9 |
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 |