Testing for BUFR

This commit is contained in:
Shahram Najm 2014-08-07 16:09:40 +01:00
parent bd5495032e
commit 7fbf493d5a
2 changed files with 3 additions and 2 deletions

View File

@ -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
) )

View File

@ -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