Appveyor: Fix Windows

This commit is contained in:
Shahram Najm 2022-06-25 22:10:40 +01:00
parent f7d1505c9c
commit 6fb24961ea
1 changed files with 17 additions and 16 deletions

View File

@ -76,6 +76,7 @@ rm -f $temp
# IEEE to Simple Packing # IEEE to Simple Packing
# ----------------------- # -----------------------
if [ $ECCODES_ON_WINDOWS -eq 0 ]; then
input=${data_dir}/grid_ieee.grib input=${data_dir}/grid_ieee.grib
${tools_dir}/grib_set -r -s packingType=grid_simple $input $temp ${tools_dir}/grib_set -r -s packingType=grid_simple $input $temp
grib_check_key_equals $input accuracy 32 grib_check_key_equals $input accuracy 32
@ -92,7 +93,7 @@ grib_check_key_equals $temp packingType,accuracy 'grid_ieee 64'
${tools_dir}/grib_set -r -s packingType=grid_simple $temp $temp.simple ${tools_dir}/grib_set -r -s packingType=grid_simple $temp $temp.simple
grib_check_key_equals $temp.simple packingType,accuracy 'grid_simple 32' grib_check_key_equals $temp.simple packingType,accuracy 'grid_simple 32'
rm -f $temp.simple rm -f $temp.simple
fi
# Test 'accuracy' key # Test 'accuracy' key
# ----------------------- # -----------------------