Testing: Drop python2

This commit is contained in:
Shahram Najm 2022-12-26 14:27:26 +00:00
parent 1e3b100ff3
commit f28b65d5d6
1 changed files with 0 additions and 12 deletions

View File

@ -334,18 +334,6 @@ if( HAVE_BUILD_TOOLS )
endif()
if( HAVE_PYTHON2 AND ENABLE_EXTRA_TESTS )
list( APPEND ptests bufr_dump_decode_python )
# list( APPEND ptests bufr_dump_encode_python )
foreach( test ${ptests} )
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 )
endforeach()
endif()
###########################################
# Note: the reference file is in the tests dir not data dir!
ecbuild_add_test( TARGET eccodes_t_grib_grid_lamb_az_eq_area