mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r4556] Purpose:
Feature (actually a kludge) Description: The old "setenv" option for the snaptest.cfg cannot handle if there are white spaces in the setenv value part. Added a "setenv2" that expects the value consists of 2 parts. A better solution (like can parse in double quoted values) is needed. Platforms tested: eirene with houdin (solaris 2.7)
This commit is contained in:
parent
3b2053492a
commit
7e76f7b0d1
@ -317,6 +317,15 @@ RUNSNAPTEST()
|
||||
export $1
|
||||
shift
|
||||
;;
|
||||
setenv2)
|
||||
# set environment variable with 2 values
|
||||
# a kludge now--the extra single quotes are needed
|
||||
# else eval complains.
|
||||
shift
|
||||
eval $1="'$2 $3'"
|
||||
export $1
|
||||
shift; shift
|
||||
;;
|
||||
*) # unknown test
|
||||
PRINT "$0: unknown type of test ($1)"
|
||||
retcode=1
|
||||
|
Loading…
Reference in New Issue
Block a user