mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-04-06 18:00:24 +08:00
fixed testing of constrained test for ncdap
This commit is contained in:
parent
ae8e5d1ff2
commit
6a6891b72b
@ -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=
|
||||
|
Loading…
x
Reference in New Issue
Block a user