mirror of https://github.com/ecmwf/eccodes.git
Fix broken tests: output temp files must be uniquely named
This commit is contained in:
parent
a27665392b
commit
ce61a01d79
|
@ -12,7 +12,8 @@
|
|||
|
||||
REDIRECT=/dev/null
|
||||
|
||||
temp=temp.grib2to3.grib3
|
||||
label="grib2to3"
|
||||
temp=temp.$label.grib3
|
||||
sample_g2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
|
||||
${tools_dir}/grib_set -s editionNumber=3 $sample_g2 $temp
|
||||
${tools_dir}/grib_dump -O -M $temp
|
||||
|
@ -39,7 +40,7 @@ files="constant_field\
|
|||
for f in $files
|
||||
do
|
||||
file=${data_dir}/$f
|
||||
output=${file}.grib3_
|
||||
output=${file}.temp.$label.grib3_
|
||||
rm -f ${output}
|
||||
${tools_dir}/grib_set -s editionNumber=3 ${file}.grib1 ${output}
|
||||
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
|
||||
REDIRECT=/dev/null
|
||||
|
||||
temp=temp.grib1to3.grib3
|
||||
label="grib1to3"
|
||||
temp=temp.$label.grib3
|
||||
sample_g1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl
|
||||
${tools_dir}/grib_set -s editionNumber=3 $sample_g1 $temp
|
||||
${tools_dir}/grib_dump -O -M $temp
|
||||
|
@ -38,7 +39,7 @@ files="constant_field\
|
|||
for f in $files
|
||||
do
|
||||
file=${data_dir}/$f
|
||||
output=${file}.grib3_
|
||||
output=${file}.temp.$label.grib3_
|
||||
rm -f ${output}
|
||||
${tools_dir}/grib_set -s editionNumber=3 ${file}.grib2 ${output}
|
||||
|
||||
|
|
Loading…
Reference in New Issue