mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
need to set -e many of the .sh programs
This commit is contained in:
parent
a14fd0b3b5
commit
ab5022256d
2
cf
2
cf
@ -123,7 +123,7 @@ FLAGS="$FLAGS --disable-examples"
|
||||
#FLAGS="$FLAGS --disable-testsets"
|
||||
#FLAGS="$FLAGS --disable-dap-remote-tests"
|
||||
#FLAGS="$FLAGS --enable-dap-auth-tests"
|
||||
FLAGS="$FLAGS --enable-doxygen"
|
||||
#FLAGS="$FLAGS --enable-doxygen"
|
||||
#FLAGS="$FLAGS --enable-logging"
|
||||
#FLAGS="$FLAGS --disable-diskless"
|
||||
#FLAGS="$FLAGS --enable-mmap"
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef DEBUG_H
|
||||
#define DEBUG_H
|
||||
|
||||
#if 0
|
||||
#if 1
|
||||
#define DAPDEBUG 1
|
||||
#define OCDEBUG 1
|
||||
#endif
|
||||
|
@ -1,12 +1,12 @@
|
||||
TOP="/home/dmh/git/netcdf-c"
|
||||
#TOP="/cygdrive/f/git/netcdf-c"
|
||||
#TOP="/home/dmh/git/netcdf-c"
|
||||
TOP="/cygdrive/f/git/netcdf-c"
|
||||
|
||||
alias xx="cd ..;make; cd libdap2"
|
||||
|
||||
PARMS=""; ARGS=""; CON="" ; CE=""; OCON="" ; VAR=""; SHARP='#'
|
||||
alias q0=;alias qq=;alias qv=;alias q=;alias qh=;alias qqh=;alias qall=;alias qv=;alias qo=;
|
||||
|
||||
F="file://${TOP}/ncdap_test/testdata3/test.02"
|
||||
F="file://${TOP}/ncdap_test/testdata3/synth9"
|
||||
|
||||
if test -f ./ncd ; then
|
||||
PROG=./ncd
|
||||
|
2691
libsrc/attr.c
2691
libsrc/attr.c
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
#set -x
|
||||
quiet=0
|
||||
leakcheck=0
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
#X="-x"
|
||||
#grind="checkleaks"
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
#X="-x"
|
||||
#grind="checkleaks"
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# if this is part of a distcheck action, then this script
|
||||
# will be executed in a different directory
|
||||
# than the one containing it; so capture the path to this script
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# if this is part of a distcheck action, then this script
|
||||
# will be executed in a different directory
|
||||
# than the one containing it; so capture the path to this script
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
#set -x
|
||||
set -e
|
||||
|
||||
quiet=0
|
||||
leakcheck=0
|
||||
timing=0
|
||||
@ -244,7 +245,7 @@ for i in $WHICHTESTS ; do
|
||||
*) echo "Unknown which test: $i" ;;
|
||||
esac
|
||||
|
||||
rm -f ./.dodsrc ./.ocrc
|
||||
rm -f ./.dodsrc ./.ocrc ./.daprc
|
||||
cd ${RESULTSDIR}
|
||||
|
||||
for t in ${TESTSET} ; do
|
||||
@ -252,24 +253,20 @@ for t in ${TESTSET} ; do
|
||||
#index=`expr index "${t}" ";"`
|
||||
|
||||
#echo index: $index
|
||||
|
||||
if [ "$myplatform" = "Darwin" ]; then
|
||||
index=`echo "${t}" | sed -n "s/;.*//p" | wc -c`
|
||||
index=`echo "${t}" | sed -n "s/;.*//p" | wc -c`
|
||||
if (( $index == 0 )) ; then
|
||||
constrained=0
|
||||
else
|
||||
constrained=1
|
||||
fi
|
||||
|
||||
else
|
||||
index=`expr index "${t}" ";"`
|
||||
|
||||
if index=`expr index "${t}" ";"` ; then ignore=1; fi # avoid set -e
|
||||
if test "x$index" = "x0" ; then
|
||||
constrained=0
|
||||
else
|
||||
constrained=1
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if test "x$constrained" = "x0" ; then # No constraint
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# if this is part of a distcheck action, then this script
|
||||
# will be executed in a different directory
|
||||
# than the one containing it; so capture the path to this script
|
||||
@ -17,5 +19,5 @@ if [ `uname | cut -d "_" -f 1` = "MINGW32" ]; then
|
||||
fi
|
||||
cd ${builddir}/ncdap_test
|
||||
|
||||
sh ${srcdir}/tst_remote.sh "$srcdir" "$builddir" "3" "" ""
|
||||
sh ${srcdir}/tst_remote.sh "$srcdir" "$builddir" "3" "" ""
|
||||
exit
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# if this is part of a distcheck action, then this script
|
||||
# will be executed in a different directory
|
||||
# than the one containing it; so capture the path to this script
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# if this is part of a distcheck action, then this script
|
||||
# will be executed in a different directory
|
||||
# than the one containing it; so capture the path to this script
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# if this is part of a distcheck action, then this script
|
||||
# will be executed in a different directory
|
||||
# than the one containing it; so capture the path to this script
|
||||
|
Loading…
Reference in New Issue
Block a user