From e938f1da0cdda177bf3c4bb6ecc17fe6dd702d23 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 19 Feb 2024 12:30:36 +0000 Subject: [PATCH] Testing: Rename --- tests/CMakeLists.txt | 6 +++--- tests/{grib_threads_ecc-604.cc => grib_encode_pthreads2.cc} | 0 tests/{grib_threads_ecc-604.sh => grib_encode_pthreads2.sh} | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename tests/{grib_threads_ecc-604.cc => grib_encode_pthreads2.cc} (100%) rename tests/{grib_threads_ecc-604.sh => grib_encode_pthreads2.sh} (98%) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a944a448a..21640b8bb 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -445,16 +445,16 @@ if( HAVE_BUILD_TOOLS ) TYPE SCRIPT COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/grib_encode_pthreads.sh ) - foreach( test grib_threads_ecc-604 grib_threads_ecc-604-encode bufr_encode_pthreads ) + foreach( test grib_encode_pthreads2 grib_threads_ecc-604-encode bufr_encode_pthreads ) ecbuild_add_executable( TARGET ${test} NOINSTALL SOURCES ${test}.cc LIBS eccodes ${CMAKE_THREAD_LIBS_INIT} ) endforeach() - ecbuild_add_test( TARGET eccodes_t_grib_threads_ecc-604 + ecbuild_add_test( TARGET eccodes_t_grib_encode_pthreads2 TYPE SCRIPT TEST_DEPENDS eccodes_download_gribs - COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/grib_threads_ecc-604.sh ) + COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/grib_encode_pthreads2.sh ) ecbuild_add_test( TARGET eccodes_t_bufr_encode_pthreads TYPE SCRIPT TEST_DEPENDS eccodes_download_bufrs diff --git a/tests/grib_threads_ecc-604.cc b/tests/grib_encode_pthreads2.cc similarity index 100% rename from tests/grib_threads_ecc-604.cc rename to tests/grib_encode_pthreads2.cc diff --git a/tests/grib_threads_ecc-604.sh b/tests/grib_encode_pthreads2.sh similarity index 98% rename from tests/grib_threads_ecc-604.sh rename to tests/grib_encode_pthreads2.sh index c2d491ffb..56d894013 100755 --- a/tests/grib_threads_ecc-604.sh +++ b/tests/grib_encode_pthreads2.sh @@ -16,7 +16,7 @@ temp_dir=tempdir.${label} NUM_THREADS=3 NUM_ITER=10 OUTPUT=output -PROG="${test_dir}/grib_threads_ecc-604" +PROG="${test_dir}/grib_encode_pthreads2" validate() {