diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7c9ccc23f..baeda6ef4 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -126,6 +126,7 @@ if( HAVE_BUILD_TOOLS ) bufr_ecc-359 bufr_ecc-517 bufr_rdbSubTypes + bufr_operators grib_efas grib_sh_imag grib_spectral diff --git a/tests/bufr_filter_misc.sh b/tests/bufr_filter_misc.sh index 495184149..de6c6d527 100755 --- a/tests/bufr_filter_misc.sh +++ b/tests/bufr_filter_misc.sh @@ -1255,43 +1255,6 @@ diff ${f}.log.ref ${f}.log rm -f ${f}.log ${f}.log.ref ${f}.out $fLog $fRules -#----------------------------------------------------------- -# Test: change width using operator 201YYY -#----------------------------------------------------------- -HIGH_TEMPERATURE=10000 -cat > $fRules < $fRules <width]"; - write; -EOF -${tools_dir}/codes_bufr_filter -o ${f}.out $fRules $f > ${f}.log - -cat > ${f}.log.ref < $fRules < $f.log - -cat > $f.log.ref < $fRules < $tempFilt </dev/null +status=$? +set -e +[ $status -ne 0 ] + +# Now change the width of airTemperature to allow high value +cat > $tempFilt <width]"; + write; +EOF +${tools_dir}/codes_bufr_filter -o $tempBufr $tempFilt $input > $tempLog + +cat > $tempRef < $tempFilt < $tempLog + +cat > $tempRef < $tempFilt <