mirror of https://github.com/ecmwf/eccodes.git
Testing: Fix for Windows
This commit is contained in:
parent
9d6510a441
commit
c708f5a2f9
|
@ -34,6 +34,7 @@ grep -q "Nh (Key/value not found)" $tempText
|
|||
|
||||
# Types like uint16, uint32 etc
|
||||
# -------------------------------
|
||||
if [ $ECCODES_ON_WINDOWS -eq 0 ]; then
|
||||
tempDir=${label}.temp.dir
|
||||
rm -rf $tempDir
|
||||
mkdir -p $tempDir/definitions/grib2
|
||||
|
@ -49,6 +50,7 @@ export ECCODES_DEFINITION_PATH=$PWD/$tempDir/definitions:$curr_defs
|
|||
|
||||
input=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
|
||||
set +e
|
||||
# Not yet fully implemented
|
||||
${tools_dir}/grib_get -p key_uint16 $input > $tempText 2>&1
|
||||
${tools_dir}/grib_get -p key_uint32 $input >> $tempText 2>&1
|
||||
${tools_dir}/grib_get -p key_uint32_le $input >> $tempText 2>&1
|
||||
|
@ -58,7 +60,8 @@ cat $tempText
|
|||
${tools_dir}/grib_get -p key_uint64 $input
|
||||
${tools_dir}/grib_get -p key_uint64_le $input
|
||||
|
||||
# Clean up
|
||||
cd $test_dir
|
||||
rm -rf $tempDir
|
||||
fi
|
||||
|
||||
# Clean up
|
||||
rm -f $tempText
|
||||
|
|
Loading…
Reference in New Issue