mirror of https://github.com/ecmwf/eccodes.git
Testing: Windows
This commit is contained in:
parent
81f40a3735
commit
86db8002ad
|
@ -8,14 +8,18 @@
|
|||
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
#
|
||||
|
||||
set -x
|
||||
. ./include.ctest.sh
|
||||
|
||||
cd ${data_dir}/bufr
|
||||
|
||||
# Define a common label for all the tmp files
|
||||
label="bufr_dump_decode_filter_test"
|
||||
|
||||
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
|
||||
echo "$0: This test is currently disabled on Windows"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
cd ${data_dir}/bufr
|
||||
|
||||
# Create log file
|
||||
fLog=temp.${label}".log"
|
||||
rm -f $fLog
|
||||
|
|
|
@ -16,6 +16,12 @@ tempOut=temp.${label}.txt
|
|||
tempBufr=temp.${label}.bufr
|
||||
|
||||
|
||||
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
|
||||
echo "$0: This test is currently disabled on Windows"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
REDIRECT=/dev/null
|
||||
|
||||
cd ${data_dir}/bufr
|
||||
|
|
|
@ -11,6 +11,14 @@
|
|||
. ./include.ctest.sh
|
||||
|
||||
label="grib_check_param_concepts_test"
|
||||
|
||||
|
||||
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
|
||||
echo "$0: This test is currently disabled on Windows"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
#
|
||||
# Do various checks on the concepts files
|
||||
#
|
||||
|
|
|
@ -15,6 +15,11 @@ tempOut=temp.${label}.out
|
|||
tempGrib=temp.${label}.grib
|
||||
tempRef=temp.${label}.ref
|
||||
|
||||
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
|
||||
echo "$0: This test is currently disabled on Windows"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
grib1_sample=$ECCODES_SAMPLES_PATH/GRIB1.tmpl
|
||||
grib2_sample=$ECCODES_SAMPLES_PATH/reduced_gg_pl_32_grib2.tmpl
|
||||
types_table=$ECCODES_DEFINITION_PATH/mars/type.table
|
||||
|
|
|
@ -16,6 +16,10 @@ tempGrib=temp.${label}.grib
|
|||
grib1_sample=$ECCODES_SAMPLES_PATH/GRIB1.tmpl
|
||||
grib2_sample=$ECCODES_SAMPLES_PATH/reduced_gg_pl_32_grib2.tmpl
|
||||
|
||||
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
|
||||
echo "$0: This test is currently disabled on Windows"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Check lowercase/uppercase
|
||||
${tools_dir}/grib_set -s class=YT,type=EM,stream=DCWV $grib1_sample $tempGrib
|
||||
|
|
|
@ -21,6 +21,13 @@ dir="${data_dir}/tigge"
|
|||
temp1="temp.${label}.grib1_"
|
||||
temp2="temp.${label}.grib2_"
|
||||
|
||||
|
||||
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
|
||||
echo "$0: This test is currently disabled on Windows"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
# --- Do I want to exclude any file pattern from the comparison ?
|
||||
exclusion_pattern="tcw|ssr|str|skt|cap|ci|ttr|st|sm|sd|slhf|sshf"
|
||||
|
||||
|
|
|
@ -21,6 +21,12 @@ dir="${data_dir}/tigge"
|
|||
temp1="temp.${label}.grib1_"
|
||||
temp2="temp.${label}.grib2_"
|
||||
|
||||
|
||||
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
|
||||
echo "$0: This test is currently disabled on Windows"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# --- Do I want to exclude any file pattern from the comparison ?
|
||||
exclusion_pattern="tcw|ssr|str|skt|cap|ci|ttr|st|sm|sd|slhf|sshf"
|
||||
|
||||
|
|
|
@ -13,6 +13,13 @@
|
|||
OUTPUT=all_codetable_flagtable_keys.txt
|
||||
TEMP=temp.list_codetable_flagtable_keys.txt
|
||||
|
||||
|
||||
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
|
||||
echo "$0: This test is currently disabled on Windows"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
[ -z "$ECCODES_DEFINITION_PATH" ] || ECCODES_DEFINITION_PATH=`${tools_dir}/codes_info -d`
|
||||
|
||||
touch $TEMP
|
||||
|
|
Loading…
Reference in New Issue