mirror of https://github.com/ecmwf/eccodes.git
Cleanup
This commit is contained in:
parent
655c0c5e63
commit
79664ea975
|
@ -60,12 +60,12 @@ list( APPEND tests
|
|||
)
|
||||
foreach( test ${tests} )
|
||||
ecbuild_add_test( TARGET eccodes_p_${test}_test
|
||||
TYPE SCRIPT
|
||||
DEPENDS ${ptools}
|
||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/${test}.sh
|
||||
CONDITION HAVE_PYTHON
|
||||
RESOURCES ${test}.py
|
||||
ENVIRONMENT PYTHON=${PYTHON_EXECUTABLE}
|
||||
TEST_DEPENDS eccodes_get_gribs eccodes_get_tigge_gribs eccodes_get_bufrs
|
||||
TYPE SCRIPT
|
||||
DEPENDS ${ptools}
|
||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/${test}.sh
|
||||
CONDITION HAVE_PYTHON
|
||||
RESOURCES ${test}.py
|
||||
ENVIRONMENT PYTHON=${PYTHON_EXECUTABLE}
|
||||
TEST_DEPENDS eccodes_get_gribs eccodes_get_tigge_gribs eccodes_get_bufrs
|
||||
)
|
||||
endforeach()
|
||||
|
|
|
@ -1,13 +1,35 @@
|
|||
if WITH_PYTHON
|
||||
AM_CFLAGS = @WARN_PEDANTIC@ @WERROR@
|
||||
|
||||
TESTS = grib_clone.sh count_messages.sh grib_get_keys.sh grib_index.sh grib_iterator.sh \
|
||||
grib_keys_iterator.sh grib_multi_write.sh grib_nearest.sh grib_print_data.sh \
|
||||
samples.sh grib_set_keys.sh set_missing.sh binary_message.sh grib_set_bitmap.sh \
|
||||
bufr_read_header.sh bufr_read_synop.sh bufr_clone.sh bufr_get_keys.sh \
|
||||
bufr_set_keys.sh bufr_expanded.sh bufr_keys_iterator.sh bufr_subset.sh \
|
||||
bufr_attributes.sh get_product_kind.sh bufr_read_temp.sh bufr_read_scatterometer.sh \
|
||||
gts_get_keys.sh metar_get_keys.sh bufr_read_tropical_cyclone.sh
|
||||
TESTS = grib_clone.sh \
|
||||
count_messages.sh \
|
||||
grib_get_keys.sh \
|
||||
grib_index.sh \
|
||||
grib_iterator.sh \
|
||||
grib_keys_iterator.sh \
|
||||
grib_multi_write.sh \
|
||||
grib_nearest.sh \
|
||||
grib_print_data.sh \
|
||||
samples.sh \
|
||||
grib_set_keys.sh \
|
||||
set_missing.sh \
|
||||
binary_message.sh \
|
||||
grib_set_bitmap.sh \
|
||||
bufr_read_header.sh \
|
||||
bufr_read_synop.sh \
|
||||
bufr_clone.sh \
|
||||
bufr_get_keys.sh \
|
||||
bufr_set_keys.sh \
|
||||
bufr_expanded.sh \
|
||||
bufr_keys_iterator.sh \
|
||||
bufr_subset.sh \
|
||||
bufr_attributes.sh \
|
||||
get_product_kind.sh \
|
||||
bufr_read_temp.sh \
|
||||
bufr_read_scatterometer.sh \
|
||||
gts_get_keys.sh \
|
||||
metar_get_keys.sh \
|
||||
bufr_read_tropical_cyclone.sh
|
||||
|
||||
TESTS_ENVIRONMENT = TOPBUILDDIR=$(top_builddir) PYTHON=$(PYTHON)
|
||||
|
||||
|
@ -20,15 +42,36 @@ INCLUDES = -I$(top_builddir)/src
|
|||
LDADD = $(top_builddir)/src/libeccodes.la
|
||||
DEPENDENCIES = $(LDADD)
|
||||
|
||||
EXTRA_DIST = $(TESTS) include.sh grib_clone.py count_messages.py grib_get_keys.py grib_index.py \
|
||||
grib_iterator.py grib_keys_iterator.py grib_multi_write.py \
|
||||
grib_nearest.py grib_print_data.py samples.py grib_set_keys.py \
|
||||
set_missing.py binary_message.py grib_set_pv.py grib_set_bitmap.py \
|
||||
bufr_read_header.py bufr_read_synop.py \
|
||||
bufr_clone.py bufr_get_keys.py bufr_set_keys.py \
|
||||
bufr_expanded.py bufr_keys_iterator.py bufr_subset.py bufr_attributes.py \
|
||||
get_product_kind.py bufr_read_temp.py bufr_read_scatterometer.py \
|
||||
gts_get_keys.py metar_get_keys.py \
|
||||
bufr_read_tropical_cyclone.py \
|
||||
CMakeLists.txt include.ctest.sh.in
|
||||
EXTRA_DIST = $(TESTS) include.sh CMakeLists.txt include.ctest.sh.in \
|
||||
grib_clone.py \
|
||||
count_messages.py \
|
||||
grib_get_keys.py \
|
||||
grib_index.py \
|
||||
grib_iterator.py \
|
||||
grib_keys_iterator.py \
|
||||
grib_multi_write.py \
|
||||
grib_nearest.py \
|
||||
grib_print_data.py \
|
||||
samples.py \
|
||||
grib_set_keys.py \
|
||||
set_missing.py \
|
||||
binary_message.py \
|
||||
grib_set_pv.py \
|
||||
grib_set_bitmap.py \
|
||||
bufr_read_header.py \
|
||||
bufr_read_synop.py \
|
||||
bufr_clone.py \
|
||||
bufr_get_keys.py \
|
||||
bufr_set_keys.py \
|
||||
bufr_expanded.py \
|
||||
bufr_keys_iterator.py \
|
||||
bufr_subset.py \
|
||||
bufr_attributes.py \
|
||||
get_product_kind.py \
|
||||
bufr_read_temp.py \
|
||||
bufr_read_scatterometer.py \
|
||||
gts_get_keys.py \
|
||||
metar_get_keys.py \
|
||||
bufr_read_tropical_cyclone.py
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue