From 53b3da43f8c84eb8742cb63338d25f7050610836 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 31 Jul 2020 15:07:35 +0100 Subject: [PATCH] Testing: clean up --- tests/CMakeLists.txt | 54 ++++++++++++++++++++++---------------------- tests/Makefile.am | 14 ++++++++++-- 2 files changed, 39 insertions(+), 29 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7ed321c17..eb0d2f516 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -9,33 +9,33 @@ execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_S # Build the executables used by test scripts ################################################ -list( APPEND test_bins - grib_bpv_limit - grib_double_cmp - read_any - julian - grib_indexing - grib_multi_from_message - grib_read_index - unit_tests - bufr_keys_iter - gauss_sub - grib_nearest_test - grib_util_set_spec - grib_local_MeteoFrance - grib_2nd_order_numValues - grib_optimize_scaling - grib_optimize_scaling_sh - grib_ecc-386 - bufr_ecc-517 - bufr_get_element - bufr_extract_headers - bufr_check_descriptors - grib_sh_ieee64 - ieee - grib_sh_imag - grib_lam_bf - grib_lam_gp ) +list(APPEND test_bins + grib_bpv_limit + grib_double_cmp + read_any + julian + grib_indexing + grib_multi_from_message + grib_read_index + unit_tests + bufr_keys_iter + gauss_sub + grib_nearest_test + grib_util_set_spec + grib_local_MeteoFrance + grib_2nd_order_numValues + grib_optimize_scaling + grib_optimize_scaling_sh + grib_ecc-386 + bufr_ecc-517 + bufr_get_element + bufr_extract_headers + bufr_check_descriptors + grib_sh_ieee64 + ieee + grib_sh_imag + grib_lam_bf + grib_lam_gp) foreach( tool ${test_bins} ) # here we use the fact that each tool has only one C file that matches its name diff --git a/tests/Makefile.am b/tests/Makefile.am index 4c4ebebf6..7645e9f67 100755 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -100,7 +100,11 @@ TESTS = definitions.sh \ grib_ecc-984.sh \ grib_ecc-1000.sh \ grib_ecc-1001.sh \ - grib_ecc-1030.sh + grib_ecc-1030.sh \ + grib_lam_gp.sh \ + grib_lam_bf.sh \ + bufr_get_element.sh \ + bufr_extract_headers.sh # First download all the necessary data for testing # Note: if download fails, no tests will be done @@ -111,7 +115,8 @@ download_data: noinst_PROGRAMS = packing_check gauss_sub read_any grib_double_cmp packing pack_unpack \ julian grib_read_index grib_indexing gribex_perf\ jpeg_perf grib_ccsds_perf so_perf png_perf grib_bpv_limit laplacian \ - unit_tests bufr_ecc-517 + unit_tests bufr_ecc-517 grib_lam_gp grib_sh_imag \ + bufr_extract_headers bufr_get_element laplacian_SOURCES = laplacian.c packing_SOURCES = packing.c @@ -130,6 +135,11 @@ grib_ccsds_perf_SOURCES = grib_ccsds_perf.c gribex_perf_SOURCES = gribex_perf.c gauss_sub_SOURCES = gauss_sub.c bufr_ecc_517_SOURCES = bufr_ecc-517.c +grib_lam_gp_SOURCES = grib_lam_gp.c +grib_lam_bf_SOURCES = grib_lam_bf.c +grib_sh_imag_SOURCES = grib_sh_imag.c +bufr_extract_headers_SOURCES = bufr_extract_headers.c +bufr_get_element_SOURCES = bufr_get_element.c LDADD = $(top_builddir)/src/libeccodes.la $(EMOS_LIB)