diff --git a/tests/bufr_dump_encode_filter.sh b/tests/bufr_dump_encode_filter.sh index 71277c195..b6db7e5e0 100755 --- a/tests/bufr_dump_encode_filter.sh +++ b/tests/bufr_dump_encode_filter.sh @@ -46,6 +46,11 @@ files=`cat ${data_dir}/bufr/bufr_data_files.txt` # set #1#3HourPressureChange=-1.6; # The hash cannot be followed by a number! exclude="ias1_240.bufr syno_multi.bufr tropical_cyclone.bufr aeolus_wmo_26.bufr israel_observations_2017041010.bufr " +cmp_options="" + +if [ $ECCODES_ON_WINDOWS -eq 1 ]; then + cmp_options="-R all=1e-7" +fi for f in $files do @@ -60,7 +65,8 @@ do ${tools_dir}/bufr_dump -Efilter $f > $fRules ${tools_dir}/codes_bufr_filter -o $fBufrTmp $fRules $f - ${tools_dir}/bufr_compare $fBufrTmp $f + + ${tools_dir}/bufr_compare $cmp_options $fBufrTmp $f TEMP_OUT1=${label}.$f.dump.out TEMP_OUT2=${label}.$fBufrTmp.dump.out