From dadd1d8ef911ac660906634ec1b3e589c54e6bf1 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 24 Feb 2023 12:49:29 +0000 Subject: [PATCH] Testing: JasPer issues --- tests/grib_threads_ecc-604.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/grib_threads_ecc-604.sh b/tests/grib_threads_ecc-604.sh index 47c1b5d26..c2d491ffb 100755 --- a/tests/grib_threads_ecc-604.sh +++ b/tests/grib_threads_ecc-604.sh @@ -71,7 +71,8 @@ GRIB2_INPUTS=" ${data_dir}/test_file.grib2 ${data_dir}/sample.grib2" -if [ $HAVE_JPEG -eq 1 ]; then +# There is a problem with multi-threading and Jasper versions > 2 +if [ $HAVE_JPEG -eq 1 -a $HAVE_LIBJASPER -eq 0 ]; then echo "Adding extra files (HAVE_JPEG=1)" GRIB2_INPUTS="${data_dir}/jpeg.grib2 ${data_dir}/reduced_gaussian_surface_jpeg.grib2 "$GRIB2_INPUTS fi