From fa65a96e885c748517436d957eedce96d1147a54 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 19 Feb 2024 11:41:47 +0000 Subject: [PATCH] Testing: Rename --- tests/CMakeLists.txt | 6 +++--- tests/{bufr_threads_ecc-604.cc => bufr_encode_pthreads.cc} | 0 tests/{bufr_threads_ecc-604.sh => bufr_encode_pthreads.sh} | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename tests/{bufr_threads_ecc-604.cc => bufr_encode_pthreads.cc} (100%) rename tests/{bufr_threads_ecc-604.sh => bufr_encode_pthreads.sh} (95%) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3edb8ee1e..a944a448a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -445,7 +445,7 @@ 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_threads_ecc-604 ) + foreach( test grib_threads_ecc-604 grib_threads_ecc-604-encode bufr_encode_pthreads ) ecbuild_add_executable( TARGET ${test} NOINSTALL SOURCES ${test}.cc @@ -455,10 +455,10 @@ if( HAVE_BUILD_TOOLS ) TYPE SCRIPT TEST_DEPENDS eccodes_download_gribs COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/grib_threads_ecc-604.sh ) - ecbuild_add_test( TARGET eccodes_t_bufr_threads_ecc-604 + ecbuild_add_test( TARGET eccodes_t_bufr_encode_pthreads TYPE SCRIPT TEST_DEPENDS eccodes_download_bufrs - COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/bufr_threads_ecc-604.sh ) + COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/bufr_encode_pthreads.sh ) endif() if( NOT ECCODES_ON_WINDOWS ) diff --git a/tests/bufr_threads_ecc-604.cc b/tests/bufr_encode_pthreads.cc similarity index 100% rename from tests/bufr_threads_ecc-604.cc rename to tests/bufr_encode_pthreads.cc diff --git a/tests/bufr_threads_ecc-604.sh b/tests/bufr_encode_pthreads.sh similarity index 95% rename from tests/bufr_threads_ecc-604.sh rename to tests/bufr_encode_pthreads.sh index 7b7a886a9..b6262e76d 100755 --- a/tests/bufr_threads_ecc-604.sh +++ b/tests/bufr_encode_pthreads.sh @@ -10,13 +10,13 @@ . ./include.ctest.sh -label="bufr_threads_ecc-604" +label="bufr_encode_pthreads_test" temp_dir=tempdir.${label} NUM_THREADS=3 NUM_ITER=5 OUTPUT=output -PROG="${test_dir}/bufr_threads_ecc-604" +PROG="${test_dir}/bufr_encode_pthreads" validate() {