mirror of https://github.com/ecmwf/eccodes.git
Testing: Increase coverage
This commit is contained in:
parent
4bf80fa6f3
commit
70e6d1094e
|
@ -74,7 +74,7 @@ ${test_dir}/codes_compare_keys $sample_spectral $sample_spectral enorm,avg
|
|||
sample1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl
|
||||
tempGribA=temp.${label}.A.grib
|
||||
tempGribB=temp.${label}.B.grib
|
||||
${tools_dir}/grib_set -s localDefinitionNumber=16,verifyingMonth=6 $sample1 $tempGribA
|
||||
${tools_dir}/grib_set -s localDefinitionNumber=16,verifyingMonth=2 $sample1 $tempGribA
|
||||
${tools_dir}/grib_set -s localDefinitionNumber=16,verifyingMonth=5 $sample1 $tempGribB
|
||||
set +e
|
||||
${test_dir}/codes_compare_keys $tempGribA $tempGribB endOfInterval > $tempLog 2>&1
|
||||
|
|
|
@ -11,10 +11,15 @@
|
|||
. ./include.ctest.sh
|
||||
|
||||
label="codes_get_string_test"
|
||||
tempGrib=temp.$label.grib
|
||||
tempText=temp.$label.txt
|
||||
|
||||
input=$ECCODES_SAMPLES_PATH/GRIB1.tmpl
|
||||
$EXEC ${test_dir}/codes_get_string $input dataDate 2> $tempText
|
||||
$EXEC ${test_dir}/codes_get_string $input dataDate
|
||||
|
||||
${tools_dir}/grib_set -s marsType=s3,marsStream=mpic $input $tempGrib
|
||||
$EXEC ${test_dir}/codes_get_string $tempGrib dayOfTheYearDate # 2> $tempText
|
||||
|
||||
|
||||
input=$data_dir/reduced_latlon_surface.grib2
|
||||
keys="identifier projString bitmap class year gridDefinitionDescription
|
||||
|
|
Loading…
Reference in New Issue