mirror of https://github.com/ecmwf/eccodes.git
ECC-293: bufr_dump -Epython (Part 04). Added test
This commit is contained in:
parent
9d94cb4b6b
commit
be2cf3e302
|
@ -109,7 +109,6 @@ if( HAVE_FORTRAN AND ENABLE_EXTRA_TESTS )
|
|||
list(APPEND tests2 bufr_dump_fortran)
|
||||
endif()
|
||||
|
||||
|
||||
# These tests do not require any data downloads
|
||||
foreach( test ${tests1} )
|
||||
ecbuild_add_test( TARGET eccodes_t_${test}
|
||||
|
@ -142,6 +141,16 @@ if( HAVE_FORTRAN AND ENABLE_EXTRA_TESTS )
|
|||
endif()
|
||||
|
||||
|
||||
if( HAVE_PYTHON AND ENABLE_EXTRA_TESTS )
|
||||
set(test bufr_dump_python)
|
||||
ecbuild_add_test( TARGET eccodes_t_${test}
|
||||
TYPE SCRIPT
|
||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/${test}.sh
|
||||
ENVIRONMENT PYTHON=${PYTHON_EXECUTABLE} PYTHONPATH=@PROJECT_BINARY_DIR@/python
|
||||
TEST_DEPENDS eccodes_download_bufrs
|
||||
)
|
||||
endif()
|
||||
|
||||
###########################################
|
||||
# Note: the reference file is in the tests dir not data dir!
|
||||
ecbuild_add_test( TARGET eccodes_t_lamb_az_eq_area
|
||||
|
|
Loading…
Reference in New Issue