mirror of https://github.com/ecmwf/eccodes.git
Testing: Increase coverage
This commit is contained in:
parent
39571269c0
commit
cd10437b0a
|
@ -34,7 +34,10 @@ grib_check_key_equals $input missingValuesPresent 1
|
|||
|
||||
# Encoding
|
||||
# -----------------
|
||||
export ECCODES_DEBUG=-1
|
||||
$EXEC ${test_dir}/grib_run_length_packing $tempGrib
|
||||
unset ECCODES_DEBUG
|
||||
|
||||
${tools_dir}/grib_dump -O $tempGrib
|
||||
${tools_dir}/grib_get_data -mXXX $tempGrib
|
||||
grib_check_key_equals $tempGrib packingType grid_run_length
|
||||
|
|
|
@ -14,11 +14,18 @@ label="wmo_read_bufr_from_file_test"
|
|||
tempText=temp.$label.txt
|
||||
tempBufr=temp.$label.bufr
|
||||
|
||||
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
|
||||
echo "$0: This test is currently disabled on Windows"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
${test_dir}/wmo_read_bufr_from_file $data_dir/bufr/ias1_240.bufr > $tempText
|
||||
cat $tempText
|
||||
grep -q "BUFR: size: 180696 .*No error" $tempText
|
||||
|
||||
echo BUFR > $tempBufr
|
||||
${test_dir}/wmo_read_bufr_from_file $tempBufr > $tempText
|
||||
cat $tempText
|
||||
grep -q "BUFR: size: 0 .*End of resource reached when reading message" $tempText
|
||||
|
||||
# Clean up
|
||||
|
|
Loading…
Reference in New Issue