From a9a4b2e749555841897839b1c8aec517a275cfd6 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Sun, 27 Aug 2023 13:37:24 +0100 Subject: [PATCH] Testing: JPEG encoding dump option --- tests/grib_jpeg.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/grib_jpeg.sh b/tests/grib_jpeg.sh index 56a6b86bf..dfe8a8f61 100755 --- a/tests/grib_jpeg.sh +++ b/tests/grib_jpeg.sh @@ -151,6 +151,10 @@ status=$? set -e [ $status -ne 0 ] +tempDump=temp.$label.jpg +ECCODES_GRIB_DUMP_JPG_FILE=$tempDump ${tools_dir}/grib_copy -r $data_dir/jpeg.grib2 $tempGrib +[ -f $tempDump ] +rm -f $tempDump # Clean up rm -f $tempFilt $tempGrib