mirror of https://github.com/ecmwf/eccodes.git
Testing: check for unbound variables
This commit is contained in:
parent
d7c79f1c79
commit
656b784969
|
@ -19,10 +19,12 @@ tempLog=temp.${label}.log
|
||||||
tempSupp=temp.${label}.supp
|
tempSupp=temp.${label}.supp
|
||||||
tempFilt=temp.${label}.filt
|
tempFilt=temp.${label}.filt
|
||||||
|
|
||||||
|
set +u
|
||||||
if test "x$ECCODES_TEST_WITH_VALGRIND" = "x"; then
|
if test "x$ECCODES_TEST_WITH_VALGRIND" = "x"; then
|
||||||
echo "Environment variable ECCODES_TEST_WITH_VALGRIND not defined. Test disabled"
|
echo "Environment variable ECCODES_TEST_WITH_VALGRIND not defined. Test disabled"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
set -u
|
||||||
|
|
||||||
# The presence of ECCODES_TEST_WITH_VALGRIND environment variable redefines
|
# The presence of ECCODES_TEST_WITH_VALGRIND environment variable redefines
|
||||||
# tools_dir so we reset it to its original
|
# tools_dir so we reset it to its original
|
||||||
|
|
|
@ -55,6 +55,8 @@ samp_dir="@CMAKE_BINARY_DIR@/@ECCODES_SAMPLES_SUFF@"
|
||||||
ECCODES_SAMPLES_PATH=${samp_dir}
|
ECCODES_SAMPLES_PATH=${samp_dir}
|
||||||
export ECCODES_SAMPLES_PATH
|
export ECCODES_SAMPLES_PATH
|
||||||
|
|
||||||
|
set -u
|
||||||
|
|
||||||
# Options
|
# Options
|
||||||
HAVE_PRODUCT_BUFR=@HAVE_PRODUCT_BUFR@
|
HAVE_PRODUCT_BUFR=@HAVE_PRODUCT_BUFR@
|
||||||
HAVE_PRODUCT_GRIB=@HAVE_PRODUCT_GRIB@
|
HAVE_PRODUCT_GRIB=@HAVE_PRODUCT_GRIB@
|
||||||
|
|
Loading…
Reference in New Issue