mirror of https://github.com/ecmwf/eccodes.git
Testing: Increase coverage
This commit is contained in:
parent
3c29611066
commit
e637b26e76
|
@ -104,15 +104,26 @@ ${tools_dir}/grib_dump -s year=1909 $file > $temp 2>&1
|
|||
grep -q "dataDate = 19090206" $temp
|
||||
|
||||
# Skip handle
|
||||
file=$data_dir/sample.grib2
|
||||
${tools_dir}/grib_dump -w count=4 $file > $temp 2>&1
|
||||
|
||||
ECCODES_DEBUG=1 ${tools_dir}/grib_dump $data_dir/sample.grib2 > $temp 2>&1
|
||||
file=$data_dir/sample.grib2
|
||||
ECCODES_DEBUG=1 ${tools_dir}/grib_dump $file > $temp 2>&1
|
||||
|
||||
|
||||
# Dump long array
|
||||
# ----------------
|
||||
input=$data_dir/lfpw.grib1
|
||||
${tools_dir}/grib_dump -w count=1 -p SPD $input
|
||||
|
||||
|
||||
# Error conditions
|
||||
#-----------------------------------------------------------
|
||||
file=$data_dir/sample.grib2
|
||||
${tools_dir}/grib_dump -p nonexist $file > $temp 2>&1
|
||||
grep -q "Key/value not found" $temp
|
||||
|
||||
|
||||
# Unreadable message
|
||||
#-----------------------------------------------------------
|
||||
tempOut=temp.$label.out
|
||||
|
|
Loading…
Reference in New Issue