diff --git a/tests/Makefile.am b/tests/Makefile.am index 414e14448..30ac16b0f 100755 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -94,6 +94,7 @@ TESTS = definitions.sh \ bufr_ecc-765.sh \ bufr_ecc-875.sh \ bufr_ecc-887.sh \ + bufr_ecc-1187.sh \ grib_ecc-136.sh \ grib_ecc-967.sh \ grib_ecc-1065.sh \ @@ -110,6 +111,7 @@ TESTS = definitions.sh \ grib_ecc-1030.sh \ grib_lam_gp.sh \ grib_lam_bf.sh \ + filter_substr.sh \ list_codetable_flagtable_keys.sh \ bufr_get_element.sh \ bufr_extract_headers.sh diff --git a/tests/grib_data_quality_checks.sh b/tests/grib_data_quality_checks.sh index 65fad1ede..73fdd3ee1 100755 --- a/tests/grib_data_quality_checks.sh +++ b/tests/grib_data_quality_checks.sh @@ -142,20 +142,19 @@ rm -rf $tempDir mkdir -p $tempDir # Change limits for 2m temperature (grid-point) and Temperature (spectral) cat > $tempDir/param_limits.def < $tempDir/param_limits.def < 4); } + } : double_type, hidden; +EOF +# Step of 12 satisfies the condition: it is even and > 4 +${tools_dir}/grib_set -s paramId=260509,step=12,scaleValuesBy=1000 $sample_g2 $tempGrib2 + +# Step of 0 doesn't satisfy the condition so will use 400 +set +e +${tools_dir}/grib_set -s paramId=260509,scaleValuesBy=1000 $sample_g2 $tempGrib2 +status=$? +set -e +[ $status -ne 0 ] + + + # Clean up rm -rf $tempDir rm -f $tempOut $tempErr $tempGrib1 $tempGrib2