mirror of https://github.com/ecmwf/eccodes.git
Testing for BUFR
This commit is contained in:
parent
bd5495032e
commit
7fbf493d5a
|
@ -63,6 +63,7 @@ list( APPEND tests
|
||||||
debug
|
debug
|
||||||
unit_tests
|
unit_tests
|
||||||
bufr_dump
|
bufr_dump
|
||||||
|
bufrdc_ref
|
||||||
)
|
)
|
||||||
|
|
||||||
foreach( test ${tests} )
|
foreach( test ${tests} )
|
||||||
|
@ -71,7 +72,7 @@ foreach( test ${tests} )
|
||||||
# rather than when you do "make test"
|
# rather than when you do "make test"
|
||||||
ecbuild_add_test( TARGET t_${test}
|
ecbuild_add_test( TARGET t_${test}
|
||||||
TYPE SCRIPT
|
TYPE SCRIPT
|
||||||
DEPENDS get_gribs get_tigge_gribs get_bufr_gribs
|
DEPENDS get_gribs get_tigge_gribs get_bufrs
|
||||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/${test}.sh
|
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/${test}.sh
|
||||||
RESOURCES include.sh
|
RESOURCES include.sh
|
||||||
)
|
)
|
||||||
|
|
|
@ -30,7 +30,7 @@ do
|
||||||
${tools_dir}bufr_filter bufrdc_ref.filter $file 2> $REDIRECT > $res_num
|
${tools_dir}bufr_filter bufrdc_ref.filter $file 2> $REDIRECT > $res_num
|
||||||
|
|
||||||
# Cannot use plain diff. We need to compare FLOAT NUMBERS with a tolerance
|
# Cannot use plain diff. We need to compare FLOAT NUMBERS with a tolerance
|
||||||
numdiff $ref_num $res_num
|
numdiff $ref_num $res_num >$REDIRECT
|
||||||
|
|
||||||
rm -f $res_num
|
rm -f $res_num
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue