ECC-301: Add JSON dump comparison to test

This commit is contained in:
Shahram Najm 2016-07-21 13:51:46 +01:00
parent b002581ebf
commit 03aa9e9333
1 changed files with 5 additions and 0 deletions

View File

@ -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