Testing: Rename labels

This commit is contained in:
Shahram Najm 2022-07-22 17:57:02 +01:00
parent b7724edc27
commit 78d3d066bd
27 changed files with 27 additions and 27 deletions

View File

@ -13,7 +13,7 @@
cd ${data_dir}/bufr cd ${data_dir}/bufr
# Define a common label for all the tmp files # Define a common label for all the tmp files
label="bufr_change_edition" label="bufr_change_edition_test"
fBufrTmp=${label}".bufr.tmp" fBufrTmp=${label}".bufr.tmp"

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="bufr_indexing" label="bufr_indexing_test"
tempIndex=temp.$label.$$.idx tempIndex=temp.$label.$$.idx
tempOut=temp.$label.$$.out tempOut=temp.$label.$$.out
tempRef=temp.$label.$$.ref tempRef=temp.$label.$$.ref

View File

@ -11,7 +11,7 @@
. ./include.ctest.sh . ./include.ctest.sh
pwd pwd
# Define a common label for all the tmp files # Define a common label for all the tmp files
label="codes_split_file" label="codes_split_file_test"
temp=$label.temp.grib temp=$label.temp.grib
# Do all the work in a temporary directory # Do all the work in a temporary directory

View File

@ -12,7 +12,7 @@
REDIRECT=/dev/null REDIRECT=/dev/null
label="grib1to3" label="grib1to3_test"
temp=temp.$label.grib3 temp=temp.$label.grib3
sample_g1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl sample_g1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl
${tools_dir}/grib_set -s editionNumber=3 $sample_g1 $temp ${tools_dir}/grib_set -s editionNumber=3 $sample_g1 $temp

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
set -u set -u
label="grib2_templates" label="grib2_templates_test"
temp1=temp1.$label.grib2 temp1=temp1.$label.grib2
temp2=temp2.$label.grib2 temp2=temp2.$label.grib2

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib2_version" label="grib2_version_test"
if [ ! -d "$ECCODES_DEFINITION_PATH" ]; then if [ ! -d "$ECCODES_DEFINITION_PATH" ]; then
echo "Test $0 disabled. No definitions directory" echo "Test $0 disabled. No definitions directory"
exit 0 exit 0

View File

@ -11,7 +11,7 @@
REDIRECT=/dev/null REDIRECT=/dev/null
label="grib2to3" label="grib2to3_test"
temp=temp.$label.grib3 temp=temp.$label.grib3
sample_g2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl sample_g2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
${tools_dir}/grib_set -s editionNumber=3 $sample_g2 $temp ${tools_dir}/grib_set -s editionNumber=3 $sample_g2 $temp

View File

@ -11,7 +11,7 @@
REDIRECT=/dev/null REDIRECT=/dev/null
label="grib3_templates" label="grib3_templates_test"
temp1=temp1.$label.grib3 temp1=temp1.$label.grib3
temp2=temp2.$label.grib3 temp2=temp2.$label.grib3

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_change_scanning" label="grib_change_scanning_test"
editions="1 2" editions="1 2"
gridTypes="regular_ll rotated_ll" gridTypes="regular_ll rotated_ll"

View File

@ -9,7 +9,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_check_gaussian_grids" label="grib_check_gaussian_grids_test"
temp=temp.$label.grib temp=temp.$label.grib

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_complex" label="grib_complex_test"
temp=${label}".grib.tmp" temp=${label}".grib.tmp"
temp1=${label}".1.tmp" temp1=${label}".1.tmp"
temp2=${label}".2.tmp" temp2=${label}".2.tmp"

View File

@ -13,7 +13,7 @@
# --------------------------------------------------------- # ---------------------------------------------------------
# Tests for data quality checks # Tests for data quality checks
# --------------------------------------------------------- # ---------------------------------------------------------
label="grib_data_quality" label="grib_data_quality_test"
tempOut=temp.1.${label}.out tempOut=temp.1.${label}.out
temp2=temp.2.${label}.out temp2=temp.2.${label}.out
tempErr=temp.${label}.err tempErr=temp.${label}.err

View File

@ -9,7 +9,7 @@
# #
. ./include.ctest.sh . ./include.ctest.sh
label="grib_dump_debug" label="grib_dump_debug_test"
temp=temp.$label.txt temp=temp.$label.txt
REDIRECT=/dev/null REDIRECT=/dev/null

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_dump_json" label="grib_dump_json_test"
temp=${label}".temp.json" temp=${label}".temp.json"
REDIRECT=/dev/null REDIRECT=/dev/null

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_efas" label="grib_efas_test"
sample=temp.sample.$label.grib sample=temp.sample.$label.grib
temp1=temp1.$label.grib temp1=temp1.$label.grib
temp2=temp2.$label.grib temp2=temp2.$label.grib

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_g1fcperiod" label="grib_g1fcperiod_test"
sample_g1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl sample_g1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl
temp=temp.$label.grib temp=temp.$label.grib

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_g1monthlydate" label="grib_g1monthlydate_test"
sample_g1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl sample_g1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl
temp=temp.$label.grib temp=temp.$label.grib

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_grid_unstructured" label="grib_grid_unstructured_test"
# Only relevant for GRIB2 # Only relevant for GRIB2
sample=$ECCODES_SAMPLES_PATH/GRIB2.tmpl sample=$ECCODES_SAMPLES_PATH/GRIB2.tmpl

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_indexing" label="grib_indexing_test"
temp=temp.$label.index.out temp=temp.$label.index.out
infile=${data_dir}/index.grib infile=${data_dir}/index.grib

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_lam_bf" label="grib_lam_bf_test"
temp=temp.$label.txt temp=temp.$label.txt
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then if [ $ECCODES_ON_WINDOWS -eq 1 ]; then

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_lam_gp" label="grib_lam_gp_test"
temp=temp.$label.txt temp=temp.$label.txt
dump_and_check() dump_and_check()

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
set -u set -u
label="grib_levtype" label="grib_levtype_test"
if [ ! -d "$ECCODES_DEFINITION_PATH" ]; then if [ ! -d "$ECCODES_DEFINITION_PATH" ]; then
echo "Test $0 disabled. No definitions directory" echo "Test $0 disabled. No definitions directory"

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_mars_keys" label="grib_mars_keys_test"
tempOut=temp.${label}.out tempOut=temp.${label}.out
tempGrib=temp.${label}.grib tempGrib=temp.${label}.grib
tempRef=temp.${label}.ref tempRef=temp.${label}.ref

View File

@ -11,7 +11,7 @@
. ./include.ctest.sh . ./include.ctest.sh
REDIRECT=/dev/null REDIRECT=/dev/null
label="grib_packing_order" label="grib_packing_order_test"
temp=${label}".grib.tmp" temp=${label}".grib.tmp"
temp_simple1=${label}".simple1.tmp" temp_simple1=${label}".simple1.tmp"
temp_simple2=${label}".simple2.tmp" temp_simple2=${label}".simple2.tmp"

View File

@ -10,7 +10,7 @@
. ./include.ctest.sh . ./include.ctest.sh
label="grib_png" label="grib_png_test"
temp=${label}".grib.tmp" temp=${label}".grib.tmp"
temp1=${label}".1.tmp" temp1=${label}".1.tmp"
temp2=${label}".2.tmp" temp2=${label}".2.tmp"

View File

@ -16,7 +16,7 @@
REDIRECT=/dev/null REDIRECT=/dev/null
label="grib_tigge_conv1" label="grib_tigge_conv1_test"
dir="${data_dir}/tigge" dir="${data_dir}/tigge"
temp1="temp.${label}.grib1_" temp1="temp.${label}.grib1_"
temp2="temp.${label}.grib2_" temp2="temp.${label}.grib2_"

View File

@ -16,7 +16,7 @@
REDIRECT=/dev/null REDIRECT=/dev/null
label="grib_tigge_conv2" label="grib_tigge_conv2_test"
dir="${data_dir}/tigge" dir="${data_dir}/tigge"
temp1="temp.${label}.grib1_" temp1="temp.${label}.grib1_"
temp2="temp.${label}.grib2_" temp2="temp.${label}.grib2_"