diff --git a/tests/grib_sub_area_check.sh b/tests/grib_sub_area_check.sh index a80ea6be7..9b602e4cb 100755 --- a/tests/grib_sub_area_check.sh +++ b/tests/grib_sub_area_check.sh @@ -17,6 +17,12 @@ if [ ! -x "${tools_dir}/gg_sub_area_check" ]; then exit 0 fi +set +e +${tools_dir}/gg_sub_area_check +status=$? +set -e +[ $status -ne 0 ] + f1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl f2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl ${tools_dir}/gg_sub_area_check $f1 $f2 > $tempOut diff --git a/tests/grib_to_ppm.sh b/tests/grib_to_ppm.sh index 470f169ff..0b2f63308 100755 --- a/tests/grib_to_ppm.sh +++ b/tests/grib_to_ppm.sh @@ -17,6 +17,11 @@ if [ ! -x "${tools_dir}/grib2ppm" ]; then exit 0 fi +# No options +${tools_dir}/grib2ppm + +${tools_dir}/grib2ppm -l 6 -u 7 -c $data_dir/sample.grib2 > $tempOut + ${tools_dir}/grib2ppm $ECCODES_SAMPLES_PATH/GRIB1.tmpl > $tempOut ${tools_dir}/grib2ppm $ECCODES_SAMPLES_PATH/GRIB2.tmpl > $tempOut