mirror of https://github.com/ecmwf/eccodes.git
ECC-301: Add JSON dump comparison to test
This commit is contained in:
parent
b002581ebf
commit
03aa9e9333
|
@ -62,6 +62,11 @@ do
|
|||
# The executable always creates a file called outfile.bufr
|
||||
./$tempExe
|
||||
${tools_dir}bufr_compare ${data_dir}/bufr/$file $tempBufr
|
||||
|
||||
${tools_dir}bufr_dump -jf ${data_dir}/bufr/$file > $file.json
|
||||
${tools_dir}bufr_dump -jf $tempBufr > $tempBufr.json
|
||||
#diff $file.json $tempBufr.json
|
||||
rm -f $file.json $tempBufr.json
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue