mirror of https://github.com/ecmwf/eccodes.git
Testing: Fix for Windows
This commit is contained in:
parent
71437ad8a2
commit
516c7c3f62
|
@ -63,3 +63,4 @@ grib_check_key_equals $tempGrib scaledValueOfFirstFixedSurface 3456
|
|||
|
||||
# Clean up
|
||||
rm -f $temp_PDTN08_Grib $temp_PDTN11_Grib $tempGrib
|
||||
rm -f $temp_PDTN00_Grib
|
||||
|
|
|
@ -46,13 +46,12 @@ if [ $status -eq 0 ]; then
|
|||
fi
|
||||
|
||||
# The -d option should have created these files
|
||||
[ -f error1_1.metar ]
|
||||
[ -f error2_1.metar ]
|
||||
rm -f error1_1.metar error2_1.metar error1_2.metar error2_2.metar
|
||||
|
||||
#----------------------------------------------------
|
||||
# Test: comparing with and without the -b switch
|
||||
#----------------------------------------------------
|
||||
if [ $ECCODES_ON_WINDOWS -eq 0 ]; then
|
||||
# Add wrong blocklist. Should still fail
|
||||
set +e
|
||||
${tools_dir}/metar_compare -b CCCC $metar_file $fMetarTmp
|
||||
|
@ -61,6 +60,7 @@ set -e
|
|||
[ $status -eq 1 ]
|
||||
# Add correct blocklist
|
||||
${tools_dir}/metar_compare -b minute,theMessage $metar_file $fMetarTmp
|
||||
fi
|
||||
|
||||
# Clean up
|
||||
rm -f $fLog $fMetarTmp
|
||||
|
|
Loading…
Reference in New Issue