mirror of https://github.com/ecmwf/eccodes.git
Testing
This commit is contained in:
parent
fd254f1564
commit
d96bf925e0
|
@ -74,14 +74,6 @@ status=$?
|
|||
set -e
|
||||
[ $status -eq 1 ]
|
||||
|
||||
if [ $ECCODES_ON_WINDOWS -eq 0 ]; then
|
||||
set +e
|
||||
${tools_dir}/codes_split_file 9 /dev/null
|
||||
status=$?
|
||||
set -e
|
||||
[ $status -eq 1 ]
|
||||
fi
|
||||
|
||||
set +e
|
||||
${tools_dir}/codes_split_file 0 $input
|
||||
status=$?
|
||||
|
|
|
@ -115,6 +115,14 @@ echo "ECC-278: grib_ls -n namespace..."
|
|||
${tools_dir}/grib_ls -n geography $ECCODES_SAMPLES_PATH/reduced_ll_sfc_grib2.tmpl
|
||||
${tools_dir}/grib_ls -n data $sample_g1
|
||||
|
||||
set +e
|
||||
${tools_dir}/grib_ls -n nosuchnamespace $sample_g1 > $tempText 2>&1
|
||||
status=$?
|
||||
set -e
|
||||
[ $status -ne 0 ]
|
||||
grep -q "does not contain any key" $tempText
|
||||
|
||||
|
||||
# Angle subdivisions
|
||||
grib_check_key_equals $sample_g1 angleSubdivisions 1000
|
||||
grib_check_key_equals $sample_g2 angleSubdivisions 1000000
|
||||
|
|
Loading…
Reference in New Issue