Testing: Increase coverage

This commit is contained in:
Shahram Najm 2023-12-16 12:09:37 +00:00
parent 9d67f1cf39
commit 65f9a26aae
1 changed files with 9 additions and 2 deletions

View File

@ -13,11 +13,18 @@
label="codes_dump_content_test" label="codes_dump_content_test"
temp=temp.$label.txt temp=temp.$label.txt
infile=$data_dir/sample.grib2 infiles="
sample.grib2
test_uuid.grib2
"
modes="default wmo json serialize debug grib_encode_C" modes="default wmo json serialize debug grib_encode_C"
for mode in $modes; do for mode in $modes; do
$EXEC ${test_dir}/codes_dump_content $mode $infile for gf in $infiles; do
echo Doing $gf
infile=$data_dir/$gf
$EXEC ${test_dir}/codes_dump_content $mode $infile > $temp
done
done done
${test_dir}/codes_dump_content rubbish $infile > $temp 2>&1 ${test_dir}/codes_dump_content rubbish $infile > $temp 2>&1