fixed testing of constrained test for ncdap

This commit is contained in:
dmh 2014-01-19 13:01:50 -07:00
parent ae8e5d1ff2
commit 6a6891b72b

View File

@ -31,8 +31,8 @@ if test "x$timing" = "x1" ; then leakcheck=0; fi
# get the list of test files
# Currently C2 fails because server is not responding
#WHICHTESTS="S1 C1 C2 CB"
#WHICHTESTS="S1 C1 CB"
WHICHTESTS="CB"
WHICHTESTS="S1 C1 CB"
if test -n "$longtests"; then
WHICHTESTS="${WHICHTESTS} L1 LC1 LC2"
fi
@ -252,6 +252,12 @@ echo '#DODSRC' >./.dodsrc
for t in ${TESTSET} ; do
# see if we are using constraints
index=`expr index "${t}" ";"`
if test "x$index" = "x0" ; then
constrained=0
else
constrained=1
fi
if test "x$constrained" = "x0" ; then # No constraint
testname=$t
ce=