AppVeyor: Fix test

This commit is contained in:
Shahram Najm 2021-05-20 10:38:51 +01:00
parent 2750e7d921
commit 8f1da66e46
1 changed files with 6 additions and 5 deletions

View File

@ -143,11 +143,12 @@ grib_check_key_equals $temp3 packingType grid_second_order
# ECC-1219: packingType conversion from grid_ieee to grid_second_order # ECC-1219: packingType conversion from grid_ieee to grid_second_order
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
infile=grid_ieee.grib if [ $ECCODES_ON_WINDOWS -eq 0 ]; then
${tools_dir}/grib_set -r -s packingType=grid_second_order $infile $temp1 infile=grid_ieee.grib
grib_check_key_equals $temp1 packingType grid_second_order ${tools_dir}/grib_set -r -s packingType=grid_second_order $infile $temp1
${tools_dir}/grib_compare -cdata:n -R all=3e-06 $infile $temp1 grib_check_key_equals $temp1 packingType grid_second_order
${tools_dir}/grib_compare -cdata:n -R all=3e-06 $infile $temp1
fi
# Clean up # Clean up
rm -f $temp_stat1 $temp_stat2 rm -f $temp_stat1 $temp_stat2