From 3198f06a63b2f8d6933c4c68f6285cf3d635b3bb Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 16 Apr 2003 16:11:45 -0500 Subject: [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: --- bin/runtest | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v0.12