ECC-1476: Testing

This commit is contained in:
Shahram Najm 2022-11-16 16:58:52 +00:00
parent d2e72258b9
commit b27ced91d3
1 changed files with 2 additions and 59 deletions

View File

@ -9,8 +9,6 @@
#
. ./include.ctest.sh
set -u
REDIRECT=/dev/null
label="bufr_ecc-1476_test"
tempFilt=temp.$label.filt
tempLog=temp.$label.log
@ -30,11 +28,8 @@ files="
aaen_55.bufr
aben_55.bufr
ahws_139.bufr
airc_142.bufr
airc_144.bufr
airs_57.bufr
alws_139.bufr
amda_144.bufr
amsa_55.bufr
amsb_55.bufr
amse_55.bufr
@ -59,24 +54,14 @@ avhr_58.bufr
b002_95.bufr
b002_96.bufr
b003_56.bufr
b004_145.bufr
b005_87.bufr
b005_89.bufr
b006_96.bufr
b007_31.bufr
bssh_170.bufr
bssh_176.bufr
bssh_178.bufr
bssh_180.bufr
btem_109.bufr
buoy_27.bufr
cmwi_87.bufr
cmwn_87.bufr
cnow_28.bufr
cori_156.bufr
crit_202.bufr
csrh_189.bufr
delayed_repl_01.bufr
ecc738.msg2.bufr
emsg_189.bufr
emsg_87.bufr
@ -85,36 +70,18 @@ eum_iasi_twt.bufr
euwv_87.bufr
fy3a_154.bufr
fy3b_154.bufr
g2nd_208.bufr
g2to_206.bufr
go15_87.bufr
goee_87.bufr
goes16_nm.bufr
goes_87.bufr
goga_89.bufr
gosat.bufr
grst_26.bufr
gsd1_208.bufr
gsd2_208.bufr
gsd3_208.bufr
gst4_26.bufr
hirb_55.bufr
hirs_55.bufr
ias1_240.bufr
iasi_241.bufr
ifco_208.bufr
ikco_217.bufr
imssnow.bufr
israel_observations_2017041010.bufr
itrg_208.bufr
itwt_233.bufr
j2eo_216.bufr
j2nb_216.bufr
jaso_214.bufr
kond_209.bufr
maer_207.bufr
meta_140.bufr
metar_with_2_bias.bufr
mhen_55.bufr
mhsa_55.bufr
mhsb_55.bufr
@ -125,61 +92,37 @@ modw_87.bufr
monw_87.bufr
new.bufr
nomi_206.bufr
nos1_208.bufr
nos2_208.bufr
nos3_208.bufr
nos4_208.bufr
nos5_208.bufr
nos6_208.bufr
nos7_208.bufr
nos8_208.bufr
ocea_131.bufr
ocea_132.bufr
ocea_133.bufr
ocea_21.bufr
pgps_110.bufr
pilo_91.bufr
PraticaTemp.bufr
profiler_european.bufr
rada_250.bufr
rado_250.bufr
s4kn_165.bufr
sb19_206.bufr
sbu8_206.bufr
sentinel1.bufr
ship_13.bufr
ship_19.bufr
ship_9.bufr
smin_49.bufr
smis_49.bufr
smiu_49.bufr
smos_203.bufr
sn4k_165.bufr
soil_7.bufr
srals3_ecmwf4.bufr
srals3_eumetsat.bufr
ssbt_127.bufr
stuk_7.bufr
syno_1.bufr
syno_3.bufr
syno_4.bufr
synop_multi_subset.bufr
temp_101.bufr
temp_102.bufr
temp_106.bufr
temp-land-with-substituted-values.bufr
tmr7_129.bufr
tros_31.bufr
uegabe.bufr
"
VALGRIND_OPTIONS="--error-exitcode=1 --leak-check=full --log-file=$tempLog"
for f in $files; do
bf=${data_dir}/bufr/$f
${tools_dir}/bufr_dump -Efilter $bf > $tempFilt >& /dev/null
${tools_dir}/bufr_dump -Efilter $bf > $tempFilt #>& /dev/null
valgrind $VALGRIND_OPTIONS ${tools_dir}/codes_bufr_filter $tempFilt $bf >/dev/null
rm -f $tempFilt
done
rm -f $tempLog $tempFilt